Convert System Date to mmddyyyy format
Hello,
I am trying to convert system date to in this format: mmddyyyy
So for today which is March 25th, 2021, it should show as 03252021
I am using the following formula:
Hello,
I am trying to convert system date to in this format: mmddyyyy
So for today which is March 25th, 2021, it should show as 03252021
I am using the following formula:
Please use this
Iif(Month(GetDate())>9, ToString(Month(GetDate())), '0'+ToString(Month(GetDate())))+Iif(Day(GetDate())>9, ToString(Day(GetDate())), '0'+ToString(Day(GetDate())))+ToString(Year(GetDate()))
Also make sure to post in ACS forum instead of ACC.
Thanks,
David
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.