Date format question

rfresh

Well-Known Member
Licensed User
Longtime User
I looked at the DateTime docs but I don't understand how to use the DateFormat to show the year as '12' vs '2012'? 04/18/12 vs 04/18/2012.

Thanks for any help...
 
How do I use that? I'm using this now:

Code: Copy
Dim date, time As Long
date = DateTime.Now
DateTime.date(date)

So how would I use that date format mask?

And are there docs on how to format time? I want to use am/pm format for my times.

Code: Copy
DateTime.time(date)
 
Upvote 0
Back
Top