Good morning all,
I'm experiencing strange behavior of my month part of a date field. When I format it either
or
it both returns a month one before the actual month.
January > 12
February > 01
If I don't format, it returns the correct month. However, I need the two digit month
What can be causing this behavior? :banghead:
I'm experiencing strange behavior of my month part of a date field. When I format it either
Code:
format(month(date()),"mm")
or
Code:
format(datepart("m",date()),"mm")
it both returns a month one before the actual month.
January > 12
February > 01
If I don't format, it returns the correct month. However, I need the two digit month

What can be causing this behavior? :banghead: