huytonscouser
Programmer
I need to display yyyymmdd as a numeric field in a specific format
i.e. todays date i want to be a numeric field and return 20,120,104
any months or days < 10 should have a leading zero.
i was gathering the pieces via :=
numbervar myyear :=(year(currentdate)); //this returns 2012.00
numbervar mymonth :=(month(currentdate)); // this returns 1.0
numbervar myday :=(day(currentdate)); // this returns 4.0
Now i just want a single numbervar 20,120,104
off course recognizing days/months < 10
Thanks in advance for any help
i.e. todays date i want to be a numeric field and return 20,120,104
any months or days < 10 should have a leading zero.
i was gathering the pieces via :=
numbervar myyear :=(year(currentdate)); //this returns 2012.00
numbervar mymonth :=(month(currentdate)); // this returns 1.0
numbervar myday :=(day(currentdate)); // this returns 4.0
Now i just want a single numbervar 20,120,104
off course recognizing days/months < 10
Thanks in advance for any help