Jump to content

How to convert from UTC time to time within specified time-zone?

- - - - -

  • Please log in to reply
1 reply to this topic

#1
ababo

ababo

    Newbie

  • Members
  • Pip
  • 1 posts
Hi, guys.

I have a question about time handling routines in C library. I need to convert UTC time to time of specified time-zone and vice versa. Daylight savings time MUST be taken into consideration, threrefore it's needed to use data stored in /usr/share/zoneinfo (linux). How can I accomplish that using LIB C?Thanks in advance.

#2
Ancient Dragon

Ancient Dragon

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 400 posts
Is the UTC time in time_t units ? Or something else?
Visit Grandpa's Forums, a social networking forum, with family-oriented arcade games, blogs, discussion forums, and photo albums.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users