jasmeenkaur27
7 years agoContributor
require date in specified format
Hi ,
I am trying to convert to a formatted date by using the below code:-
strdateTest = Project.Variables.strEffectiveDate;(05/02/2018)
strdateTest = DateTimeToFormatStr(strdateTest,"%d\-%b\-%y")
I get the output as 05-Feb-18. My required output is 05-FEB-18.
Could you please help me on this one?
Hi,
aqString.ToUpper(strdateTest) will do what you need.