pub const SECONDS_BETWEEN_PALM_EPOCHS: u32 = 2082886200;
Expand description

The number of seconds between the two Palm OS timestamp epochs.

Adding this constant to an “old Palm epoch” timestamp will give you a UNIX epoch timestamp.

The value of this constant differs from the value used in some other Palm OS utilities (specifically, palmdump). I am not entirely sure why palmdump uses the value it does. For clarification’s sake, here is how the value provided here was calculated (as a Python 3 snippet):

from datetime import datetime
print("%d" % abs(datetime.timestamp(datetime(1904, 1, 1))))