Quantcast
Channel: Windows – Bitratchet
Viewing all articles
Browse latest Browse all 16

What Every C# Dev Needs to Know About Dates

$
0
0

There’s a big difference in what a M, MM, MMM, and MMMM mean in a date format.

Also, you can say:

String.Format( "{0:yyyy-MM-dd hh:mm:ss}", DateTime.Now )

to convert a .Net date into a MySQL format date, without needing to pass a format string to the

DateTime.ToString()

method.


Filed under: computing, Programming, Windows Tagged: c# programming

Viewing all articles
Browse latest Browse all 16

Trending Articles