Hi, I am able to get UTC time (but the time that is the system time) I want to calculate the UTC time for a given time. For example 11/10/2004 16:00:00, if anyone can help me I would be pleased.
: Hi, : I am able to get UTC time (but the time that is the system time) : I want to calculate the UTC time for a given time. For example 11/10/2004 16:00:00, if anyone can help me I would be pleased. : : Nierdre :
use functions in time.h, such as gmtime() and strftime(). If your compiler does not support time.h (some compilers don't) then you need to find out what functions are available and work from there.
Comments
: I am able to get UTC time (but the time that is the system time)
: I want to calculate the UTC time for a given time. For example 11/10/2004 16:00:00, if anyone can help me I would be pleased.
:
: Nierdre
:
use functions in time.h, such as gmtime() and strftime(). If your compiler does not support time.h (some compilers don't) then you need to find out what functions are available and work from there.