Thanks Taco,
I've implemented the change my initial code I posted was little incorrect,
using what you provided all I needed to do was adjust the 8 to 15. Time
logged is now correct.
Cheers
Peter
----- Original Message -----
From: "Taco Fleur" <[EMAIL PROTECTED]>
To: "CFAussie Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, July 15, 2003 9:40 PM
Subject: [cfaussie] RE: Server Date Stamp
> Add the hour difference to the timestamp upon insert.
> So if the difference between you and the server is 8 hours you use
>
> #DateFormat(now(),'mmmm dd,yyyy')# #TimeFormat(dateAdd("h", 8, now()),
> 'hh:mm:ss tt')#" addnewline="yes">
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Peter J
> Sent: Tuesday, 15 July 2003 9:14 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] Server Date Stamp
>
>
> I'm capturing the time stamp of when a query is being logged, which goes
> into a log file, trouble is the time its picking up is the US time as
> thats where I'm hosting my site, based in Miniapollis
>
> Any ideas how I can get around this? Current code for the process is:
>
> <cffile action="append"
> file="d:\home\sites\one2onesolutions.net\web\log.cfm"
> output="#form.fname#
> |#form.fphone#| #form.femail# | #form.cprtext# | #remote_addr# |
> #DateFormat(now(),'mmmm dd,yyyy')# #TimeFormat(now-14(), 'hh:mm:ss
> tt')#" addnewline="yes">
>
> Thanks
> Peter
>
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To
> unsubscribe send a blank email to
> [EMAIL PROTECTED]
>
> MX Downunder AsiaPac DevCon - http://mxdu.com/
>
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
>
> MX Downunder AsiaPac DevCon - http://mxdu.com/
>
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/