格林尼治标准时间至今转换 [英] GMT to date convertion

查看:146
本文介绍了格林尼治标准时间至今转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

2010年10月1日星期五,格林尼治标准时间+0530(印度标准时间)
使用c#在服务器端转换为日期.

Fri Oct 01 2010 05:30:00 GMT+0530 (India Standard Time)
convert to date in serverside using c#.

推荐答案

尝试此链接
http://stackoverflow.com/questions/179940/c-convert- utc-gmt-time-to-local-time [ ^ ]
try this link
http://stackoverflow.com/questions/179940/c-convert-utc-gmt-time-to-local-time[^]


为什么要将看起来像DateTime的值转换为字符串,然后又将其从到DateTime的字符串?
Why are you converting what looks like a DateTime value to a string and then converting it back from a string to a DateTime?


有关GMT与UTC的信息,请参见: http://geography.about.com/od/timeandtimezones/a/gmtutc.htm [ ^ ].

另请参阅: http://stackoverflow.com/questions/4087333/c-gmt -time-equivalent-with-utc-time [
See about GMT vs UTC: http://geography.about.com/od/timeandtimezones/a/gmtutc.htm[^].

See also: http://stackoverflow.com/questions/4087333/c-gmt-time-equivalent-with-utc-time[^].

—SA


这篇关于格林尼治标准时间至今转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆