Code won't convert date

VegaLA

Registered User.
Local time
Today, 09:17
Joined
Jul 12, 2006
Messages
101
Hello.
I am trying to convert the current date now() to day month ( 5-Oct) using this code:

Me.txtNow = FormatDateTime(now(), d - mmm)

but as I step through the code the value is still long date.
Have I missed a step or is my code incorrect ?

Thanks in advance,
Mitch...........
 
Try Format(Date(),"d - mmm")

No point in using Now if you don't require the time.

Brian
 
Thanks Brian, that makes more sense.

Mitch.........
 

Users who are viewing this thread

Back
Top Bottom