Save time only in Database

Options
I am using timestamp to save time in table but using timestamp time and date both store but i want only time

Comments

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
    Hey  - the timestamp is a Unix timestamp in milliseconds... meaning the milliseconds since 1970.

    You can format timestamps to your pleasing, it's very easy to do so and you can combine the linked characters in the documentation. You could just format time when you call through the API or perform this manipulation when creating a record and store the formatted time as a text string.

    [CleanShot 2021-11-16 at 16.27.58.png]
    [CleanShot 2021-11-16 at 16.28.11.png]