Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
month( '1971-10-30' ) returns Oct
How do I get 10 which represents October.
Hi
Use Num(month( '1971-10-30' )), or if it is in a table, set the format to integer.
HTH
Jonathan
When you use the month function, the underlying result is a dual, so has the text representation of 'Oct', if you adjust the format for your field to number, this will display 10.
or you can wrap num around it, if required in the script.
Num(month( '1971-10-30' ))
hope that helps
Joe
Use Num(month( '1971-10-30' ))
- Lalit