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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ShiftDateTime issue

Status
Not open for further replies.

campia

Technical User
Apr 20, 2007
77
BE
Dear,

I receive from an external database the registration date GMT+1 and the real date is -1.

I tried to change it via the function ShiftDateTime but i get an error. I tried like this:

SchiftDateTime({field_date},"GMT+01:00",GMT)

example:
i get : 09/12/2008 17:00 -> but it must be 09/12/2008 16:00

Can you help me please?

André
 
Have you read the help files on this? You need the name of the new time zone, and to enter the offset in minutes.

-LB
 
You could also use DateDiff and subtract an hour.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top