Question:
How can I get individual data about the current date (day, month, year, hour, minute and second)?
Solution:
To do so, you can use now command, which returns the current moment with date and time in a variable of subtype datetime. Since you want to get each value individually, you must use day, month, year, hour, minute and second functions . For example:
dtnow = Now
day = Day(dtnow)
month = Month(dtnow)
year = Year(dtnow)
hour = Hour(dtnow)
minute = Minute(dtnow)
second = Second(dtnow)