I am making a timeline in Wordpress, and I am trying to record with a date of January 12, 1800, but Wordpress does not allow me. Apparently, he does not allow me to publish anything until 1970. Is there any way to fix this?
PHP (written in the WordPress programming language) uses the unix timestamp, which is the number of seconds since January 1, 1970. This means that you cannot use dates before this date, as this is the “beginning of time” in accordance with PHP.
Sorry if this was not the answer you wanted :(
, Wordpress, PHP, , Wordpress .
PHP:
, , Fri, 13 Dec 1901 20:45:54 GMT Tue, 19 2038 03:14:07 GMT. ( , 32- ). PHP 5.1.0 01-01-1970 19-01-2038 (, Windows).
, Wordpress, - Wordpress , , PHP.
, :
http://studiohyperset.com/wordpress-old-dates-historical-pre-1969-pre-1970-timestamp-function/3102
1800- , , Wordpress "18" .
, 1970 , - 3.0: WordPress > " backdated post 1 1970 . - wp2.8 , , .
1970 "" ?
You can put the date in a custom field and display it instead, and you can also sort by this custom field, so the end result will not be different.
You can use custom fields to store the date and show that instead of calling the_date or the_time.
Source: https://habr.com/ru/post/1751694/More articles:POSIX_SPAWN с Java? - javaProgramming a virtual driver for a second monitor: where to start? - windowsВопрос про Python - pythonHow can I reference an adk resource in another Android project? - javaDirectory bookmark in terminal - shellgdb and asking when the memory address is written to - loopsHow to cast to object type in C #? - c #Is there a tac version that destroys content? (e.g. zcat) - bashCustomize content footer - cssWindsor Castle RemoveComponent False - dependency-injectionAll Articles