Hi everyone, please what's the best way to store t...
# orm-help
n
Hi everyone, please what's the best way to store time interval?
1
c
Start date and end date.
n
@Chris Tsongas hi Chris thank you, but I want it to just be one value. It's a field I want to call
systemUptime
which represents how long a computer has been on. Is there any way PostgreSQL and Prisma can support something like this ?
n
Can’t you achieve it by storing the time at which system started and time at which system shutdown. you would need both of these times to calculate systemUptime.