+ Post New Thread
Results 1 to 5 of 5
Web Development Thread, display <%=Date%> as UK not US in Coding and Web Development; trying to get the current date to display, but the &lt;%=Date%&gt; string is showing it as 3/5/09... how can i ...
  1. #1

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,532
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200

    display <%=Date%> as UK not US

    trying to get the current date to display, but the <%=Date%> string is showing it as 3/5/09...

    how can i alter the string to either show 5th March 2009 or the correct 5/3/09 ?

  2. #2

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,867
    Thank Post
    412
    Thanked 778 Times in 651 Posts
    Rep Power
    182

  3. Thanks to powdarrmonkey from:

    RabbieBurns (5th March 2009)

  4. #3

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,532
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    doesnt seem to be a way to flip the day / month...

    but
    Code:
    <% Response.write FormatDateTime(todaysDate,1) %>
    will do instead.

    Cheers

  5. #4

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,867
    Thank Post
    412
    Thanked 778 Times in 651 Posts
    Rep Power
    182
    Look a bit further down the page for the internationalisation (sp?) bit.

  6. Thanks to powdarrmonkey from:

    RabbieBurns (5th March 2009)

  7. #5

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,532
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    Aha, sorted. Cheers



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 8
    Last Post: 15th December 2008, 04:41 PM
  2. Date of Birth
    By sparkeh in forum General Chat
    Replies: 2
    Last Post: 10th November 2008, 04:36 PM
  3. some [more] asp help required please
    By RabbieBurns in forum Web Development
    Replies: 9
    Last Post: 17th September 2008, 04:40 AM
  4. ASP Problem
    By gibbo_ap in forum Web Development
    Replies: 0
    Last Post: 17th April 2008, 01:32 PM
  5. ASP help
    By kerrymoralee9280 in forum Web Development
    Replies: 12
    Last Post: 3rd October 2007, 09:11 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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