Tuesday, June 12, 2007

FormatDate Function

I need a reminder of the parameters specifying which portions to display of a datetime value. Here is what I found on MSDN:

1 = Display a date and/or time. If there is a date part, display it as a short date. If there is a time part, display it as a long time. If present, both parts are displayed.

2 = Display a date using the long date format specified in your computer's regional settings.

3 = Display a date using the short date format specified in your computer's regional settings.

4 = Display a time using the 24-hour format (hh:mm).

http://msdn2.microsoft.com/en-us/library/8aebkz6s.aspx

No comments: