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

GMT Time Conversion

Status
Not open for further replies.

fragglemoo

IS-IT--Management
Nov 20, 2002
41
0
0
GB
I have a date/time field that needs converting. I'm in the UK and the times on this field are now 1 hour out due to BST.

I'm using CR2008.

Thanks
 
Try
Code:
DateAdd ("h", -1, {your.datetime})
Or better, make it flexible using a parameter:
Code:
if @Summertime = "Y"
then DateAdd ("h", -1, {your.datetime})
else {your.datetime}


[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