Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to calculate average last N values in a table in Excel
  • How to add Trendline to a chart in Excel
  • How to Create Column Chart in Excel
  • Remove Duplicates Example in Excel
  • Get column name from index in Excel Table

References

  • Approximate match with multiple criteria in Excel
  • Extract all partial matches in Excel
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel FORMULATEXT function
  • MATCH function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation no punctuation
  • Excel Data validation date in next 30 days
  • Excel Data validation whole percentage only
  • How To Create Drop-down List in Excel
  • Excel Data validation must not contain

Excel Date & Time Functions Example

by

To enter a date in Excel, use the “/” or “-” characters. To enter a time, use the “:” (colon). You can also enter a date and a time in one cell.

Note: Dates are in US Format. Months first, Days second. This type of format depends on your windows regional settings. Learn more about Date and Time formats.

Year, Month, Day

To get the year of a date, use the YEAR function.

Note: use the MONTH and DAY function to get the month and day of a date.

Date Function

1. To add a number of days to a date, use the following simple formula.

2. To add a number of years, months and/or days, use the DATE function.

Note: the DATE function accepts three arguments: year, month and day. Excel knows that 6 + 2 = 8 = August has 31 days and rolls over to the next month (23 August + 9 days = 1 September).

Current Date & Time

To get the current date and time, use the NOW function.

Note: use the TODAY function to enter today’s date in Excel.

Hour, Minute, Second

To return the hour, use the HOUR function.

Note: use the MINUTE and SECOND function to return the minute and second.

Time Function

To add a number of hours, minutes and/or seconds, use the TIME function.

Note: Excel adds 2 hours, 10 + 1 = 11 minutes and 70 – 60 = 10 seconds.

Post navigation

Previous Post:

TRUE function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Pie Chart

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel OR Function
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • IF with boolean logic in Excel
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • Not Equal To ‘<>‘ operator in Excel

Date Time

  • Display Days until expiration date in Excel
  • How to calculate nth day of year in Excel
  • Display the current date and time in Excel
  • Convert decimal minutes to Excel time
  • How to calculate months between dates in Excel

Grouping

  • Group arbitrary text values in Excel
  • Group numbers at uneven intervals in Excel
  • If cell contains one of many things in Excel
  • Group numbers with VLOOKUP in Excel
  • Map text to numbers in Excel

General

  • Count cells that do not contain many strings in Excel
  • Find Most Frequently Occurring Word in Excel Worksheet
  • 231 Keyboard Shortcut Keys In Excel
  • Currency vs Accounting Format in Excel
  • Convert column number to letter in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning