Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder
    Join Date
    May 2004
    Posts
    1,466
    Thanks
    15
    Thanked 0 Times in 0 Posts

    formatdatetime(mydate,1)

    I am doing

    formatdatetime(mydate,1)
    which is diplaying as 10 May 2007

    I want it to say Thursday 10 May 2007 - How do I change that?

    i don't know if it makes a difference but i'm using

  • #2
    teh Moderatorinator
    Join Date
    Sep 2004
    Location
    USA
    Posts
    2,472
    Thanks
    4
    Thanked 40 Times in 40 Posts
    Use the weekdayname and weekday functions to get the day:
    http://www.w3schools.com/vbscript/func_weekdayname.asp
    http://www.w3schools.com/vbscript/func_weekday.asp

    And concatenate that before formatdatetime.

    Good luck;

  • #3
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts
    or you can create your own custom function to handle it

    http://computer-helpforum.com/asp/Da...&Submit=Submit


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •