Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

converting to UK dates

Status
Not open for further replies.

gojohnnygogogogo

Programmer
May 22, 2002
161
GB
hello,
I have a problem with Dates, I am passing UK date like 01/05/2002 to a crystal report and it keeps converting it to 05/01/2002.
has anybody seen this problem before ?

(ps, I am passing from asp and it says to use :
' Here is the list of parameter field types and their number,
' and the VBScript calls to convert the variable from a Variant
' to the right data type:
'
' Param Field Type VBScript Call Type Number
'
' NumberField CDbl 7
' CurrencyField CDbl 8
' Boolean CBool 9
' DateField CDate 10
' StringField CStr 12
 
This is a format issue, just format the objects in question and you will see the UK format as an available option. Software Training and Support for Macola, Crystal Reports and Goldmine
251-621-8972
dgilsdorf@mchsi.com
 
Is the report changing the format? or actually sending the wrong parameter value to the DB?

Lisa
 
I have formated the field ,so it is UK, and I am still getting this problem.

I think it is sending the wrong parameter, ( IF I type 1/september/1991 it sends the right paramter, if I type 1/9/1991 it sends the wrond parameter.
 
If this is a date parameter, why are you typing anything? Just pick the date from the drop down calendar. Software Training and Support for Macola, Crystal Reports and Goldmine
251-621-8972
dgilsdorf@mchsi.com
 
It works fine from the cRystal designer.
I am passing parameters from an ASP page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top