Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms 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
 
Old August 25th, 2003, 07:50 AM
Registered User
 
Join Date: Aug 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default on which factors does date depend?

hello everyone!
i have written one asp calendar in vbscript. i have used just the vbscript for it. the problem is when i host it from my computer, it works fine. and i tried in another computer as well. it works fine there as well but when i uploaded into the main server, uni's server, the calendar doesn't work properly. like 25th august is monday, but 25 falls on saturday. and when i click forward and next button for month, it gives me funny output. when i click next button for month, if 1'st of august is tuesday, then 1'st of sept. starts from wednesday. and if i click next button again, 1'st of october starts from wednesday. the thing is it works fine in my computer.

i have used just the vbscript functions for the calendar like Date. can anyone suggest why i am having such problem? someone suggested to check LCID. it is okay and i checked timesetting of the server as well. any suggesstions will be greatly appreciated.

 
Old September 5th, 2003, 05:31 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

This is a common problem, date settings in IIS are implemented badly. The date and format can depend on the account of user, IIS account, System account and can be altered by someone being loggged on locally to PC when code runs. How did you check settings og LCID?

--

Joe





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give Date format while entering date Subuana Beginning VB 6 4 March 17th, 2006 07:25 AM
Date based query when date is nvarchar MichaelTJ SQL Language 4 January 12th, 2004 09:57 PM
DTS Import ( Date string to Date field) gfowajuh SQL Server 2000 1 September 30th, 2003 06:28 AM
Convert String Date to Date for a SQL Query tdaustin Classic ASP Basics 4 July 7th, 2003 06:01 PM





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