User FAQs

If you have a question, please send it to us.

1) Can you have a DateTime Literal constant in C# ?
C# does not support date or time literal constants (however VB.Net does).
A date and time literal constant must be declared using the System.DateTime class.

System.DateTime myDate = new System.DateTime(1900, 1, 1); 

Is System.DateTime.Now - local time or UTC ?

© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext