HowTo : C# change DateTime format programmatically
by toy
When you use Datetime. Now in c#, it’ll give u a datetime as same as in your computer configured. If you want to change it by programmatically. use the following code.
1 2 3 4 5 6 7 |
Reference : http://msdn2.microsoft.com/en-us/library/az4se3k1(VS.71).aspx
Twitter
Facebook