Pebble App Framework: Phone API
    Preparing search index...

    Function timestamp

    • Reads a property's timestamp.

      A moment before 1970 or from 2200 on counts as missing, so a mapper can build a Date from it.

      Parameters

      • property: SourceProperty | undefined

        The property off an instance, which may be missing.

      Returns number | undefined

      The moment as epoch seconds, or undefined when there is no usable one.