First, this is the Visio forum not the Visual Studio forum.
For a general idea of date functions you might check this out (it's vba, but close to visual studio basic)
http://www.cpearson.com/excel/DateTimeVBA.htm
this works more like what you should know
http://www.withvb.net/tutorials/intro-vbnets-datetime
al
If this answer solves your problem, please check Mark as Answered. If this answer helps, please click the Vote as Helpful button. Al Edlund Visio MVP