Hi all,
I recently downloaded a calendar that i am trying out for a client. It works
fine when i test it on my machine..however when i test it on the hosts
server it can't handle the date format. when i run it i get the following
error
Error:
Type mismatch: 'DateValue'
/calendar/inc_default.asp, line 77
Code:
If Request("iDate") <> "" Then
This is line 77----> iDate = DateValue(Request("iDate"))
Else
iDate = date
End if
I thought the LCID value for Germany which is where the host's server is.
When i do this it works...(horray!) but it also changes the days and the
months to German(awww!) Is there any way to avoid this? PLease help, i got
this pain in my head that won't go away. Any other suggestions?There's not
much in support for the calendar as its free. Its DUcalendar from duware.com
maybe someone else has experienced something similar?
Many thanks in advance 5 3217
What's the value of request("iDate") and is that request.form, querystring,
etc.? Specify that in your code.
Response.write request.FORM("iDate")
response.end
Ray at work
"b_boy" <b_***@b2k.co.uk> wrote in message
news:OM**************@TK2MSFTNGP09.phx.gbl... Hi all, I recently downloaded a calendar that i am trying out for a client. It
works fine when i test it on my machine..however when i test it on the hosts server it can't handle the date format. when i run it i get the following error Error:
Type mismatch: 'DateValue'
/calendar/inc_default.asp, line 77
Code:
If Request("iDate") <> "" Then This is line 77----> iDate = DateValue(Request("iDate")) Else iDate = date End if
I thought the LCID value for Germany which is where the host's server is. When i do this it works...(horray!) but it also changes the days and the months to German(awww!) Is there any way to avoid this? PLease help, i got this pain in my head that won't go away. Any other suggestions?There's not much in support for the calendar as its free. Its DUcalendar from
duware.com maybe someone else has experienced something similar?
Many thanks in advance
Without LCID value
16/10/2003
with LCID value for Germany
16.10.2003
hmmm...
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:Ow**************@TK2MSFTNGP09.phx.gbl... What's the value of request("iDate") and is that request.form,
querystring, etc.? Specify that in your code.
Response.write request.FORM("iDate") response.end
Ray at work
"b_boy" <b_***@b2k.co.uk> wrote in message news:OM**************@TK2MSFTNGP09.phx.gbl... Hi all, I recently downloaded a calendar that i am trying out for a client. It works fine when i test it on my machine..however when i test it on the hosts server it can't handle the date format. when i run it i get the
following error Error:
Type mismatch: 'DateValue'
/calendar/inc_default.asp, line 77
Code:
If Request("iDate") <> "" Then This is line 77----> iDate = DateValue(Request("iDate")) Else iDate = date End if
I thought the LCID value for Germany which is where the host's server
is. When i do this it works...(horray!) but it also changes the days and the months to German(awww!) Is there any way to avoid this? PLease help, i
got this pain in my head that won't go away. Any other suggestions?There's
not much in support for the calendar as its free. Its DUcalendar from duware.com maybe someone else has experienced something similar?
Many thanks in advance
Uh, convert it to a string and replace . with / or vice-versa?
"b_boy" <b_***@b2k.co.uk> wrote in message
news:OM**************@TK2MSFTNGP09.phx.gbl... Hi all, I recently downloaded a calendar that i am trying out for a client. It
works fine when i test it on my machine..however when i test it on the hosts server it can't handle the date format. when i run it i get the following error Error:
Type mismatch: 'DateValue'
/calendar/inc_default.asp, line 77
Code:
If Request("iDate") <> "" Then This is line 77----> iDate = DateValue(Request("iDate")) Else iDate = date End if
I thought the LCID value for Germany which is where the host's server is. When i do this it works...(horray!) but it also changes the days and the months to German(awww!) Is there any way to avoid this? PLease help, i got this pain in my head that won't go away. Any other suggestions?There's not much in support for the calendar as its free. Its DUcalendar from
duware.com maybe someone else has experienced something similar?
Many thanks in advance
I'm trying...i'm trying, i can convert it to the dd.mm.yyyy format but i
think i need to convert it back to date format otherwise the application
won't work Type mismatch error again! Maybe i'm not doing it right. I'm not
sure there's a date function that will keep the dd.mm.yyyy format in place..
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Uh, convert it to a string and replace . with / or vice-versa?
"b_boy" <b_***@b2k.co.uk> wrote in message news:OM**************@TK2MSFTNGP09.phx.gbl... Hi all, I recently downloaded a calendar that i am trying out for a client. It works fine when i test it on my machine..however when i test it on the hosts server it can't handle the date format. when i run it i get the
following error Error:
Type mismatch: 'DateValue'
/calendar/inc_default.asp, line 77
Code:
If Request("iDate") <> "" Then This is line 77----> iDate = DateValue(Request("iDate")) Else iDate = date End if
I thought the LCID value for Germany which is where the host's server
is. When i do this it works...(horray!) but it also changes the days and the months to German(awww!) Is there any way to avoid this? PLease help, i
got this pain in my head that won't go away. Any other suggestions?There's
not much in support for the calendar as its free. Its DUcalendar from duware.com maybe someone else has experienced something similar?
Many thanks in advance
hmmm, that's a no then.
"b_boy" <b_***@b2k.co.uk> wrote in message
news:O$**************@TK2MSFTNGP12.phx.gbl... I'm trying...i'm trying, i can convert it to the dd.mm.yyyy format but i think i need to convert it back to date format otherwise the application won't work Type mismatch error again! Maybe i'm not doing it right. I'm
not sure there's a date function that will keep the dd.mm.yyyy format in
place.. "Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... Uh, convert it to a string and replace . with / or vice-versa?
"b_boy" <b_***@b2k.co.uk> wrote in message news:OM**************@TK2MSFTNGP09.phx.gbl... Hi all, I recently downloaded a calendar that i am trying out for a client. It works fine when i test it on my machine..however when i test it on the hosts server it can't handle the date format. when i run it i get the following error Error:
Type mismatch: 'DateValue'
/calendar/inc_default.asp, line 77
Code:
If Request("iDate") <> "" Then This is line 77----> iDate = DateValue(Request("iDate")) Else iDate = date End if
I thought the LCID value for Germany which is where the host's server is. When i do this it works...(horray!) but it also changes the days and
the months to German(awww!) Is there any way to avoid this? PLease help, i got this pain in my head that won't go away. Any other suggestions?There's not much in support for the calendar as its free. Its DUcalendar from duware.com maybe someone else has experienced something similar?
Many thanks in advance
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Claudio Cezar |
last post by:
I live in Brazil and i am trying to set my application to
work with american date format.
The problem is, even when i set the LCID property at the
beginning of my code, it always returns the...
|
by: A_Dude |
last post by:
Hi all,
I've recently installed a calendar that I downloaded but I'm having a bit of
a problem with the date settings. I thought setting the LCID value would
help which it does but brings another...
|
by: A_Dude |
last post by:
I posted this but got no response so hey...why not try again...I'd like to
know if it is just not possible or am I missing something. I'd appreciate a
pointer...article , something to help me...
|
by: David Patow |
last post by:
Can anyone explain why neither ASP Session.LCID nor
VBScript SetLocale() effect the locale of a VB6-based COM
object that is instantiated via Server.CreateObject()?
If I set Session.LCID, then...
|
by: Darren |
last post by:
I used the following code on a server;
<%
ReturnDateTime 1033, "English (US)"
ReturnDateTime 2057, "English (UK)"
ReturnDateTime 3081, "English (Australia)"
ReturnDateTime 1031, "German"
...
|
by: J. Baute |
last post by:
I'm doing some tests to see if the Session.LCID can be used to easily change
a user-dependant locale for number & date/time formatting in ASP. As far as
I get the theory this should work, but I'm...
|
by: Rob |
last post by:
Hi all,
Is it possible to change the Session.LCID in a hyperlink?
My problem is I'm calling a Date from a database to use as a querystring in
the hyperlink but I also need to display the date as...
|
by: ubi_comp |
last post by:
Hi,
I have a windows 2003 server IIS6 machine in development
environment.
I set Session.Lcid in aspx Page1 and move to aspx Page2 and use
Session.Lcid value that I set in the Page1 without...
|
by: Just4U |
last post by:
Hello,
My config : Windows 2003 x64 (US VERSION) + sp2, IIS 6
All regional settings to French (even for default user)
In my ASP pages dates are in the good format (french:dd/mm/yyyy), but...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |