|
-
Oct 10th, 2000, 12:37 AM
#1
Thread Starter
Member
how can i SET the date into long date format (regional settings)?
i want that once my form is loaded, it will automatically SET the date in the regional settings into long date format.
-
Oct 10th, 2000, 01:01 AM
#2
Hyperactive Member
Hell miletjs,
Use the format function:
MsgBox FormatDateTime(dteDate, vbGeneralDate)
MsgBox FormatDateTime(dteDate, vbLongDate)
MsgBox FormatDateTime(dteDate, vbShortDate)
MsgBox FormatDateTime(dteDate, vbLongTime)
MsgBox FormatDateTime(dteDate, vbShortTime)
MsgBox Format$(dteDate, "ddd, mmm d, yyyy")
MsgBox Format$(dteDate, "mmm d, H:MM am/pm")
Nice regards,
Michelle.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|