By using t2do.com you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

T2Do.com

 


Dates and Times

4.Get the current date and time (doesn't change) Ctrl+; space Ctrl+:
6.Number of days - subtract 2 cells with dates =A1-A2 (A1 should be after A2) format as a number
7.Day of week =text(date,"ddd")
10.Holidays - create a holiday table and use vlookup
1.=Now() - Get the current Date and time (changes when recalculated)
11.Get just the date =int(now())
8.Convert String to date = datevalue("1/2/2019")
12.Get the time only - =now() - int(Now())
2.Ctrl+; (semicolon) - Get current date
9.Weekend - =weekday(date) = 1 to 7 (Sun. to Sat)
5.=text(date,"mm/dd/yyyy") - different ways to format dates in a string
3.Ctrl+: (colon) - Get the current time