Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=INT(A2)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
For positive dates they're identical. TRUNC truncates toward zero; INT rounds toward negative infinity — both give the same result for valid dates.
If the text is in a recognizable format use =DATEVALUE(LEFT(A2,10)) to extract just the date part from a YYYY-MM-DD HH:MM:SS string.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: