DateTimePart always returns numeric value. There exist a number of ways how you can convert and format it to 2-digit string, but I think what you are trying to get could be as simple as below  Dim( DayNow, string, "@T"dd"" )  MessageBox( DayNow )  : Hi,  : I get the day of the month using this line: DateTimePart ( Daytime,  : "dd", DayNow )  : Dec. 2nd for example, it will return a value of "2".  : Is there a way to make it return a two digit value so today will be  : "02"?  : Thank you!   
   |