2016-08-16 12:00:19 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
'19-12-1960 01:30:00',
|
2016-08-16 12:00:19 +00:00
|
|
|
22269.0625,
|
|
|
|
'dd-mm-yyyy hh:mm:ss',
|
|
|
|
],
|
|
|
|
// Oasis uses upper-case
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
'12/19/1960 01:30:00',
|
2016-08-16 12:00:19 +00:00
|
|
|
22269.0625,
|
|
|
|
'MM/DD/YYYY HH:MM:SS',
|
|
|
|
],
|
|
|
|
// Date with plaintext escaped with a \
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
'1960-12-19T01:30:00',
|
2016-08-16 12:00:19 +00:00
|
|
|
22269.0625,
|
|
|
|
'yyyy-mm-dd\\Thh:mm:ss',
|
|
|
|
],
|
|
|
|
// Date with plaintext in quotes
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
'1960-12-19T01:30:00 Z',
|
2016-08-16 12:00:19 +00:00
|
|
|
22269.0625,
|
|
|
|
'yyyy-mm-dd"T"hh:mm:ss \\Z',
|
|
|
|
],
|
|
|
|
// Date with quoted formatting characters
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
'y-m-d 1960-12-19 h:m:s 01:30:00',
|
2016-08-16 12:00:19 +00:00
|
|
|
22269.0625,
|
|
|
|
'"y-m-d" yyyy-mm-dd "h:m:s" hh:mm:ss',
|
|
|
|
],
|
|
|
|
// Date with quoted formatting characters
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
'y-m-d 1960-12-19 h:m:s 01:30:00',
|
2016-08-16 12:00:19 +00:00
|
|
|
22269.0625,
|
|
|
|
'"y-m-d "yyyy-mm-dd" h:m:s "hh:mm:ss',
|
|
|
|
],
|
2016-11-21 03:56:10 +00:00
|
|
|
// Chinese date format
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
'1960年12月19日',
|
2016-11-21 03:56:10 +00:00
|
|
|
22269.0625,
|
|
|
|
'[DBNum1][$-804]yyyy"年"m"月"d"日";@',
|
|
|
|
],
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
'1960年12月',
|
2016-11-21 03:56:10 +00:00
|
|
|
22269.0625,
|
|
|
|
'[DBNum1][$-804]yyyy"年"m"月";@',
|
|
|
|
],
|
|
|
|
[
|
2017-01-23 05:49:10 +00:00
|
|
|
'12月19日',
|
2016-11-21 03:56:10 +00:00
|
|
|
22269.0625,
|
|
|
|
'[DBNum1][$-804]m"月"d"日";@',
|
|
|
|
],
|
2018-06-24 10:35:45 +00:00
|
|
|
[
|
|
|
|
'07:35:00 AM',
|
|
|
|
43270.315972222,
|
|
|
|
'hh:mm:ss\ AM/PM',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'02:29:00 PM',
|
|
|
|
43270.603472222,
|
|
|
|
'hh:mm:ss\ AM/PM',
|
|
|
|
],
|
2018-09-28 12:28:40 +00:00
|
|
|
[
|
|
|
|
'8/20/2018',
|
|
|
|
43332,
|
|
|
|
'[$-409]m/d/yyyy',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'8/20/2018',
|
|
|
|
43332,
|
|
|
|
'[$-1010409]m/d/yyyy',
|
|
|
|
],
|
2016-08-16 12:00:19 +00:00
|
|
|
];
|