OruxMaps

Uncategorized Boards => MAPAS/MAPS => Topic started by: Ian Hinton on April 25, 2022, 03:15:02 PM

Title: Internal date format storage / Formato interno de almacenamiento de fecha
Post by: Ian Hinton on April 25, 2022, 03:15:02 PM
ENG
Does anybody know how dates are stored? When I export to CSV, I've noticed that the date is represented by a large integer, such as 1019775110. Is the date recorded in seconds transpired from a starting date? If so, what is the start date?


ESP
¿Alguien conoce el formato en que se almacenan las fechas? Cuando exporto a CSV, observo que la fecha se representa por un número íntegro, como 1019775110. ¿La fecha se almacena en segundos transcurridos desde una fecha inicial? En caso afirmativo, ¿cuál es la fecha de inicio.
Title: Re: Internal date format storage / Formato interno de almacenamiento de fecha
Post by: Juanjo on April 25, 2022, 04:34:23 PM
ENG
It is an UNIX timestamp (https://en.wikipedia.org/wiki/Unix_time), it represents the number of seconds (10 digits) or milliseconds (13 digits) elapsed since January 1, 1970


ESP
Es un tiempo UNIX (https://es.wikipedia.org/wiki/Tiempo_Unix), representa el número de segundos (10 dígitos) o milisegundos (13 dígitos) transcurridos desde el uno de Enero de 1970
Title: Re: Internal date format storage / Formato interno de almacenamiento de fecha
Post by: Ian Hinton on April 25, 2022, 05:44:28 PM
Muchas gracias, Juanjo. No encontraba este dato ni en el manual ni en estos foros. Me has salvado el problema que tenía al usar ficheros CSV.