FormatDateTime question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • fiefie.niles@gmail.com

    FormatDateTime question

    I set my computer Regional Setting (Control Panel - Regional and
    Language Options - Customize - Date) to dd/mm/yy.
    In my ASP page I do the following:

    FormatDateTime( "1/20/07",2)

    and it returns 1/20/07 instead of 20/1/07.

    I though my setting it to 2, it will display a date using the short
    date format specified in your computer's regional settings, how come
    it is not ?
    How can I set the string to display a date using the computer's
    regional setting ?
    Thank you.

Working...