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

Data Analysis

  • How to create dynamic reference table name in Excel
  • How to create running total in an Excel Table
  • How To Sort One Column or Multiple Columns in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • How To Filter Data in Excel

References

  • Create hyperlink with VLOOKUP in Excel
  • Merge tables with VLOOKUP in Excel
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • How to use Excel FORMULATEXT function
  • Convert text string to valid reference in Excel using Indirect function

Data Validations

  • Excel Data validation require unique number
  • Excel Data validation with conditional list
  • Excel Data validation whole percentage only
  • Excel Data validation number multiple 100
  • Excel Data validation unique values only

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

  • IF function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • IF with boolean logic in Excel
  • How to use Excel TRUE Function
  • NOT function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get last working day in month in Excel
  • WORKDAY function: Description, Usage, Syntax, Examples and Explanation
  • Get date from day number in Excel
  • Extract time from a date and time in Excel
  • Get project end date in Excel

Grouping

  • Group arbitrary text values in Excel
  • Group numbers with VLOOKUP in Excel
  • Running count group by n size in Excel
  • Group times into 3 hour buckets in Excel
  • Map text to numbers in Excel

General

  • Excel Ribbon Quick Overview For Beginners
  • How to Insert Cells, Row and Rows in Excel
  • Cell References: Relative, Absolute and Mixed Referencing Examples
  • How to test a range for numbers in Excel
  • How to get Excel workbook path only
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning