DATEVALUE

05:03:31 Converts a date in the form of text to a serial number.
05:03:31 Warning: The PhpSpreadsheet DATEVALUE() function accepts a wider range of date formats than MS Excel DATEFORMAT() function.
05:03:31 Date String: 26 March 2012
05:03:31 Formula: =DATEVALUE(A1)
05:03:31 Excel DateStamp: 40994
05:03:31 Formatted DateStamp2012-Mar-26
05:03:31
05:03:31 Date String: 29 Feb 2012
05:03:31 Formula: =DATEVALUE(A2)
05:03:31 Excel DateStamp: 40968
05:03:31 Formatted DateStamp2012-Feb-29
05:03:31
05:03:31 Date String: April 1, 2012
05:03:31 Formula: =DATEVALUE(A3)
05:03:31 Excel DateStamp: 41000
05:03:31 Formatted DateStamp2012-Apr-01
05:03:31
05:03:31 Date String: 25/12/2012
05:03:31 Formula: =DATEVALUE(A4)
05:03:31 Excel DateStamp: 41268
05:03:31 Formatted DateStamp2012-Dec-25
05:03:31
05:03:31 Date String: 2012-Oct-31
05:03:31 Formula: =DATEVALUE(A5)
05:03:31 Excel DateStamp: 41213
05:03:31 Formatted DateStamp2012-Oct-31
05:03:31
05:03:31 Date String: 5th November
05:03:31 Formula: =DATEVALUE(A6)
05:03:31 Excel DateStamp: 45966
05:03:31 Formatted DateStamp2025-Nov-05
05:03:31
05:03:31 Date String: January 1st
05:03:31 Formula: =DATEVALUE(A7)
05:03:31 Excel DateStamp: 45658
05:03:31 Formatted DateStamp2025-Jan-01
05:03:31
05:03:31 Date String: April 2012
05:03:31 Formula: =DATEVALUE(A8)
05:03:31 Excel DateStamp: 41000
05:03:31 Formatted DateStamp2012-Apr-01
05:03:31
05:03:31 Date String: 17-03
05:03:31 Formula: =DATEVALUE(A9)
05:03:31 Excel DateStamp: 45733
05:03:31 Formatted DateStamp2025-Mar-17
05:03:31
05:03:31 Date String: 03-2012
05:03:31 Formula: =DATEVALUE(A10)
05:03:31 Excel DateStamp: 40969
05:03:31 Formatted DateStamp2012-Mar-01
05:03:31
05:03:31 Date String: 29 Feb 2011
05:03:31 Formula: =DATEVALUE(A11)
05:03:31 Excel DateStamp: #VALUE!
05:03:31 Formatted DateStamp#VALUE!
05:03:31
05:03:31 Date String: 03-05-07
05:03:31 Formula: =DATEVALUE(A12)
05:03:31 Excel DateStamp: 39205
05:03:31 Formatted DateStamp2007-May-03
05:03:31
05:03:31 Date String: 03-MAY-07
05:03:31 Formula: =DATEVALUE(A13)
05:03:31 Excel DateStamp: 39205
05:03:31 Formatted DateStamp2007-May-03
05:03:31
05:03:31 Date String: 03-13-07
05:03:31 Formula: =DATEVALUE(A14)
05:03:31 Excel DateStamp: 41340
05:03:31 Formatted DateStamp2013-Mar-07
05:03:31