Forum Discussion

grutherford's avatar
grutherford
Occasional Contributor
7 years ago
Solved

can aqDateTime.GetMonth return a 2 character month? Same with GetDay?

I need to get a 2 character month and day from an input string (e.g., 20180109).  The aqDateTime.GetMonth strips the leading 0 when the month or day is less than 10.