July 18, 201015 yr Hi.. b4 i wander in the wrong direction.. thought i ask something I can't find answer to/// TIA I am currently using current time and time to timestamp our messages/// Now we have a client account in another Time Zone.. Thought I add a Account field acc_timezone It be + or - number from our current timezone, that the operator is working at taking a message. Trying to figure how to timestamp Client message with their own timezone? If not isEmpty(acc_timezone) [color:blue]How might I calculate +/- from current date/ time? else */ default use system time to mark message Endif
July 18, 201015 yr Use the Get( Current HostTimestamp ) function, it uses the time from the host computer. If the solution is served from a central FMS box that this function will return the timestamp from the central server regardless of the clock setting of the client's machine. This will completely avoid the issue.
July 18, 201015 yr Author thanks for your idea.. seconds ummmm +- to a Timestamp command... Anyone got some snippets of code that is close..that helps me to read and understand maybe, If anyone has such to share..
July 18, 201015 yr Author what if I not using server... does a server comand return peer to peer... thanks Edited July 18, 201015 yr by Guest
July 18, 201015 yr Say you have a timestamp field with the time in Eugene, OR (PDT). To translate that to time in Washington DC (EDT), use = YourTimestampField + 3 * 3600 Note that this is a simplified formula that does not account for differences in daylight saving time start and end. The above example will return incorrect results for 3 hours twice a year.
Create an account or sign in to comment