4 Replies - 18837 Views - Last Post: 07 April 2010 - 12:02 AM Rate Topic: -----

#4 mahendra_22patil  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 17
  • Joined: 15-August 08

Re: convert how to convert GMT(Greenwich Mean Time) to IST(Indian Standard

Post icon  Posted 19 August 2008 - 03:22 AM

hi friend,
i want convert GMT format to IST format
so what i do ?????? :rolleyes:


Please Help me ....... :(!):
Was This Post Helpful? 1

#5 AmitTheInfinity  Icon User is offline

  • C Surfing ∞
  • member icon

Reputation: 117
  • View blog
  • Posts: 1,559
  • Joined: 25-January 07

Re: convert how to convert GMT(Greenwich Mean Time) to IST(Indian Standard

Posted 19 August 2008 - 03:43 AM

View Postmahendra_22patil, on 19 Aug, 2008 - 03:52 PM, said:

hi friend,
i want convert GMT format to IST format
so what i do ?????? :rolleyes:


Please Help me ....... :(!):


You didn't mentioned about what format you are using to store this GMT time? is that structure or class or something else?

in normal case you just add 5:30 to GMT to get IST :)
Was This Post Helpful? 0
  • +
  • -

#14 dijusam  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 1
  • Joined: 02-July 09

Re: convert how to convert GMT(Greenwich Mean Time) to IST(Indian Standard

Posted 02 July 2009 - 05:39 AM

mahendra_22patil

Try this....

date_default_timezone_set('Asia/Kolkata');
echo date('Y-m-d H:i:s');

hope this helps...
-dijusam
Was This Post Helpful? 1

#15 sooraj  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 01-August 09

Re: convert how to convert GMT(Greenwich Mean Time) to IST(Indian Standard

Posted 03 August 2009 - 02:04 AM

c# code for converting greenwich mean time indian standard time
Was This Post Helpful? 0
  • +
  • -

#16 Guest_S K S*


Reputation:

Re: convert how to convert GMT(Greenwich Mean Time) to IST(Indian Standard

Posted 07 April 2010 - 12:02 AM

View Postdijusam, on 02 July 2009 - 04:39 AM, said:

mahendra_22patil

Try this....

date_default_timezone_set('Asia/Kolkata');
echo date('Y-m-d H:i:s');

hope this helps...
-dijusam



That works!!!! and its a cool method.
Was This Post Helpful? 0

Page 1 of 1