Click here to Skip to main content
15,896,457 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML Databases Pin
Vasudevan Deepak Kumar21-Apr-08 7:18
Vasudevan Deepak Kumar21-Apr-08 7:18 
GeneralRe: XML Databases Pin
ptr2void21-Apr-08 17:50
ptr2void21-Apr-08 17:50 
QuestionDateTime: UTC vs Local Pin
ptr2void21-Apr-08 2:59
ptr2void21-Apr-08 2:59 
GeneralRe: DateTime: UTC vs Local Pin
Colin Angus Mackay21-Apr-08 3:11
Colin Angus Mackay21-Apr-08 3:11 
GeneralRe: DateTime: UTC vs Local Pin
ptr2void21-Apr-08 3:21
ptr2void21-Apr-08 3:21 
GeneralRe: DateTime: UTC vs Local Pin
J4amieC21-Apr-08 3:31
J4amieC21-Apr-08 3:31 
GeneralRe: DateTime: UTC vs Local Pin
ptr2void21-Apr-08 3:51
ptr2void21-Apr-08 3:51 
AnswerRe: DateTime: UTC vs Local Pin
Simon P Stevens21-Apr-08 3:16
Simon P Stevens21-Apr-08 3:16 
look on Wikipedia[^]

ptr2void wrote:
What is UTC time? How is it different from Local Time?


UTC is just like another timezone. It will have a fixed offset from your local time.

ptr2void wrote:
Does it mean that UTC time are same on every machine at a particular instant


No, each machine will calculate UTC as an offset from it's local clock. If you need a time value for co-ordination or timestamps you need to use a central server for your clock. If it's an app with a database back end you can just use the database time.

ptr2void wrote:
I want to time which should be uniform across the globe. Like different application calling my server should pass universal time so that it is easy to maintain. What time should I be using on clients?


Yes, you should use UTC to pass times between machines, servers, clients and internally, etc. But ideally, you should then convert the UTC to the machines local time zone before you display it to a user. Users won't generally understand what UTC is.



Simon

GeneralRe: DateTime: UTC vs Local Pin
ptr2void21-Apr-08 3:45
ptr2void21-Apr-08 3:45 
GeneralRe: DateTime: UTC vs Local Pin
ptr2void21-Apr-08 3:46
ptr2void21-Apr-08 3:46 
GeneralRe: DateTime: UTC vs Local Pin
J4amieC21-Apr-08 3:17
J4amieC21-Apr-08 3:17 
GeneralRe: DateTime: UTC vs Local [modified] Pin
ptr2void21-Apr-08 3:44
ptr2void21-Apr-08 3:44 
GeneralRe: DateTime: UTC vs Local Pin
Colin Angus Mackay21-Apr-08 5:57
Colin Angus Mackay21-Apr-08 5:57 
GeneralRe: DateTime: UTC vs Local Pin
J4amieC21-Apr-08 6:57
J4amieC21-Apr-08 6:57 
GeneralRe: DateTime: UTC vs Local Pin
Colin Angus Mackay21-Apr-08 7:21
Colin Angus Mackay21-Apr-08 7:21 
GeneralRe: DateTime: UTC vs Local Pin
ptr2void21-Apr-08 17:49
ptr2void21-Apr-08 17:49 
GeneralRe: DateTime: UTC vs Local Pin
ptr2void21-Apr-08 17:53
ptr2void21-Apr-08 17:53 
Questionc# Pin
veronika8921-Apr-08 2:45
veronika8921-Apr-08 2:45 
GeneralRe: c# Pin
Pete O'Hanlon21-Apr-08 2:49
mvePete O'Hanlon21-Apr-08 2:49 
GeneralRe: c# Pin
Vikram A Punathambekar21-Apr-08 2:53
Vikram A Punathambekar21-Apr-08 2:53 
GeneralRe: c# Pin
CPallini21-Apr-08 3:31
mveCPallini21-Apr-08 3:31 
AnswerRe: c# Pin
V.22-Apr-08 1:56
professionalV.22-Apr-08 1:56 
Generalcontrolling controls with handles Pin
V.21-Apr-08 2:36
professionalV.21-Apr-08 2:36 
GeneralRe: controlling controls with handles Pin
carbon_golem21-Apr-08 7:01
carbon_golem21-Apr-08 7:01 
GeneralRe: controlling controls with handles Pin
V.22-Apr-08 1:48
professionalV.22-Apr-08 1:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.