How to identify CPU time

G

Guest

How do you program to include UTC time (GMT) as a default
value when entering default value?
 
H

hcj

You can use =Now()-(zone), where zone is your local time
zone (e.g. Central Daylight Time is -5). However, I don't
know how to detect the zone that your CPU clock is using,
and that changes when you move back and forth from
standard to daylight time if you have your clock set to
update itself automatically. Maybe someone else can help
you there. Otherwise you'd have to remember to change the
zone value whenever the switch is made OR (worse) if you
have a networked database that crosses time zones OR if
you transport the database to another time zone and forget
to change the zone value. Far from a perfect answer, but
perhaps it's a start.
 
G

Guest

cool- thanks.
-----Original Message-----
You can use =Now()-(zone), where zone is your local time
zone (e.g. Central Daylight Time is -5). However, I don't
know how to detect the zone that your CPU clock is using,
and that changes when you move back and forth from
standard to daylight time if you have your clock set to
update itself automatically. Maybe someone else can help
you there. Otherwise you'd have to remember to change the
zone value whenever the switch is made OR (worse) if you
have a networked database that crosses time zones OR if
you transport the database to another time zone and forget
to change the zone value. Far from a perfect answer, but
perhaps it's a start.


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top