Jun 29, 2010 #1 allyne MIS Feb 9, 2001 410 US Hi Everyone, I have a variable that uses an expression that looks like this Month(GetDate()). The value is 6. How can I get the value to look like 06. Thanks for your help!
Hi Everyone, I have a variable that uses an expression that looks like this Month(GetDate()). The value is 6. How can I get the value to look like 06. Thanks for your help!
Jun 29, 2010 1 #2 RiverGuy Programmer Jul 18, 2002 5,011 US Try this Code: RIGHT("0" + (DT_STR,2,1252)Month(GetDate()), 2) Upvote 0 Downvote
Jun 30, 2010 Thread starter #3 allyne MIS Feb 9, 2001 410 US Thanks! Works Perfect! Upvote 0 Downvote