Posted: Wed Dec 04, 2002 3:36 am Post subject: convert time which is in GMT time into local time using C++
Novice
Joined: 30 Oct 2002 Posts: 10
I want to . I need a fuction which takes GMT time as a STRING and return a local time (IST) in STRING format..
I am getting a string.
string in GMT format : 05223015 (GMT Format ) .................................................IST equi: is 10:52:30
I got GMT Date and Time with following line.
printf("\n Date is ....%s....time is :...%s...",(char *)mq_message.putDate(),(char *)mq_message.putTime());
char * is converting it into string. puDate() and putTime() are returing object of ImqString.
and mq_message is an object ImqMessage class. _________________ anita nair
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum