Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Universal time

Using VBA under Excel, I need to get time (e.g.: Now function) expressed as
UTC rather than in PC local time. Does anyone know how to acquire UTC time
directly (as with .NET DateTime.UtcNow)? Failing that, does anyone know how
to acquire the System clock parameter to convert PC local time to UTC time
(using DateAdd)?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Universal time

http://www.cpearson.com/excel/LocalAndGMTTimes.htm

--
Regards,
Tom Ogilvy


"Joseph Felcon" wrote:

Using VBA under Excel, I need to get time (e.g.: Now function) expressed as
UTC rather than in PC local time. Does anyone know how to acquire UTC time
directly (as with .NET DateTime.UtcNow)? Failing that, does anyone know how
to acquire the System clock parameter to convert PC local time to UTC time
(using DateAdd)?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
universal worksheet name heiteck Excel Programming 0 May 10th 06 10:20 AM
Universal formulas for any given row lamontd7 New Users to Excel 3 August 1st 05 02:55 PM
universal code lou sanderson Excel Programming 2 July 14th 05 05:03 PM
Universal procedure for changes Matt Jensen Excel Programming 5 December 29th 04 03:48 PM
Make A Universal Time Converter [email protected] New Users to Excel 1 December 2nd 04 04:31 AM


All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"