[phorm] [Phorm:] Re: add a date in log file

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 13 Jul 2004 12:26:16 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#4178) Re: add a date in log file 
            <http://www.phorm.com/support/?rev=4178> 
  AUTHOR:   Holotech 
  DATE:     July 13, 2004 at 8:26 a.m. EST 

  Reply To: (#4136) Re: add a date in log file 
  Author:   sam 
  Date:     June 17, 2004 at 6:43 p.m. EST 

> out how to get accurate time for us, or will it always 
> be based on the server time? When I submitted it from 
> MY machine (at 1:08) I get this logged: 
> '06/17/04,12:08:42,CDT' using this code in my PHM 
> file: 
> $TimeStamp = date("m/d/y,H:i:s,T"); 

If you're one hour ahead of the time zone where the server is, use this: 

$TimeStamp = date("m/d/y,H:i:s,T", strtotime("1 hour")); 

One hour behind would be "-1 hour", etc. 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: