Time

Time

Hardware clock

Set the BIOS / EUFI time to UTC time.
Use command hwclock (see man page) to adjust the hardware (bios/eufi) clock from a running linux installation.

On Gentoo:

/etc/init.d/hwclock
/etc/conf.d/hwclock

On Ubuntu and derivatives:
/etc/default/rcS 
UTC=yes


// Show hardware time:
# hwclock
2018-03-01 02:09:17.796233+0000
// Show system time:
# date
Thu Mar 1 02:09:37 -00 2018
// Set hardware clock to proper UTC time:
# hwclock --set --date "03/01/2018 02:03:00"

Calculating times, duration and dates

Online time calculator:
http://www.grun1.com/utils/timeCalc.html

This thread includes a python script to calculate times:
https://ubuntuforums.org/showthread.php?t=1581039

Another solution would be with libreoffice, using a spread sheet.

Syndicate content