Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
| Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 12th, 2006, 05:39 AM
Registered User
 
Join Date: Sep 2003
Location: Älvsjö, Älvsjö, Sweden.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default date format differs, need to force format somehow

Hi

<html>
<body>
<%=NOW()%>
</body>
</html>

gives two different time formats on two servers one gives DD/MM/YYYY and the other one YYYY-MM-DD, i want the 2nd fromat on both servers, cant find any logical difference in the servers, how can I define format in the asp-code ?

PLZ HLP !

/Patric
  #2 (permalink)  
Old January 12th, 2006, 05:46 AM
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I think you have a better chance getting help if you ask in the ASP forum. :)

I don't know ASP, but for instance SSI has ways of configuring the time format so probably ASP has too.

--
http://yupapa.com
  #3 (permalink)  
Old January 12th, 2006, 05:55 AM
Registered User
 
Join Date: Sep 2003
Location: Älvsjö, Älvsjö, Sweden.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok thanks.
Patric


Similar Threads
Thread Thread Starter Forum Replies Last Post
date format differs, need to force format somehow patricolsson ASP.NET 2.0 Basics 1 December 3rd, 2009 12:53 AM
Convert British format date to American format? fyr PHP How-To 0 December 19th, 2007 03:17 PM
Convert Rich Text Format to Ordinary Format in ASP Andraw Classic ASP Basics 1 August 31st, 2007 10:05 AM
How to give Date format while entering date Subuana Beginning VB 6 4 March 17th, 2006 07:25 AM
Behavior of Date/Time Format Differs When Accessed Oliver Dempsey Classic ASP Basics 25 May 2nd, 2005 01:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.