Hi
I am wondering if there is a way to get the month as a number (from 1 to 12) out of the date field.I can get it as a text string ie. January, no problem, but not as 01 as in this example.
Thanks in advance for any help/suggestions.
Regards
Ron
Hi Ron,
Sure. You can add a Calculation field with the following function:
DATE(Date Field; "MM")
Tell the formula to return a Text value and it will display 01 – 12 for the month numbers extracted from the Date.
If you truly want a Number value rather than a Text value that looks like a number, then use the STR2NUM()
function to turn the result into an actual numeric value that you can use in other math type functions.
Thanks,
Brendan