1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Rep Power

    Wink Date Issue with Jscript

    I usually work in ASP VBScript but I have taken over a project that uses an MS Access database to store dates in a Date/Time field.
    The date in the database is:

    However when rendered onto the page using ASP Jscript is appears as:
    Fri Sep 23 00:00:00 UTC+0100 2011

    Can anybody direct me as to how I can get it to appear on the page as it does in the database using Jscript?

    Thanks in advance
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Rep Power
    Do you mean you're using jscript for the server-side asp code?

    In vbscript on the server you'd probably use the formatdatetime() function to make the date display as you want. In jscript I don't know, sorry.
    Doug G
    I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton

IMN logo majestic logo threadwatch logo seochat tools logo