Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to set own time in my c# application which does not depends on system time
Posted
Comments
Naz_Firdouse 8-Jan-13 0:06am    
Do u want to dispaly time based on TimeZone?

1 solution

The most obvious way is to grab a time that represents the offset from the system time ( for example, DateTime.Now if you want a timer starting at 0 ) and then just keep show DateTime.Now - yourValue
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900