Returns the current system date and time (Date).

* This returns the date and time from the settings from your computer.
* If you want the current date, then you should use the DATE function.
* If you want the current time, then you should use the TIME function.
* The equivalent Excel function is Application.WorksheetFunction.NOW
* The equivalent .NET function is Microsoft.VisualBasic.DateAndTime.Now
* For the Microsoft documentation refer to

Debug.Print Now() = "01/01/2003 15:47:21"
Debug.Print Now.ToUniversalTime ??
dtDate = Now() - directly without any conversion ??

© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited Top