DateTime.DateFormat = "yyyy/MM/dd"
Dim today As Long = DateTime.DateParse("2025/12/07") '<-----------For Custom date
'OR THIS
'Dim today As Long = DateTime.Now '<-------Get details of the current date
Dim year As Int = DateTime.GetYear(today)
Dim month As Int = DateTime.GetMonth(today)
Dim day As Int = DateTime.GetDayOfMonth(today)
Log(today)
Log(year)
Log(month)
Log(day)
DateUtils is a code module with a set of useful date and time related methods. It complements DateTime api, it doesn't replace it. The methods included in DateUtils: 'Calculates the period between two date instances. 'This method returns a Period type with years, months, days, hours, minutes...