Help for this page
$err = ( $ms < 100000 ? 'wrong' : '' );
printf "Seconds since epoch (float): %.6f\n", $sec;
# $sec is a float, print it like that...
printf "Seconds since epoch (list): %d.%d $err\n", $s, $ms;
printf "Seconds since epoch (float): %.6f $err\n", $float_t;
Seconds since epocg (float): 1349360875.006262
Seconds since epoch (list): 1349360875.6267 wrong
Seconds since epoch (float): 1349360875.626700 wrong
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (176 votes),