diff --git a/reference/paradox/functions/px-timestamp2string.xml b/reference/paradox/functions/px-timestamp2string.xml index f4c510395e..5fc4d19242 100644 --- a/reference/paradox/functions/px-timestamp2string.xml +++ b/reference/paradox/functions/px-timestamp2string.xml @@ -19,7 +19,7 @@ Turns a timestamp as it stored in the paradox file into human readable - format. Paradox timestamps are the number of milliseconds since 1.1.0000. + format. Paradox timestamps are the number of miliseconds since 0001-01-02. This function is just for convenience. It can be easily replaced by some math and the calendar functions as demonstrated in the following example. @@ -122,7 +122,7 @@ $days = 700000; echo jdtogregorian($days+1721425)."\n"; /* Turn it into a timestamp as it stored in a paradox database */ -/* Timestamps are stored in milli seconds since 1.1.0000 */ +/* Timestamps are stored in miliseconds since 0001-01-02 */ $stamp = $days * 86400.0 * 1000.0; /* Add one hour */ $stamp += 3600000.0; @@ -148,7 +148,7 @@ px_delete($px); has a different base of 1.1.4714 b.c. and must therefore be calculated by adding 1721425 to the day count used in the paradox file. Turning the day count into a timestamp is easily done by multiplying with 86400000.0 - to obtain milli seconds. + to obtain miliseconds.