Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (7 sloc) 213 Bytes
#!/bin/bash
# Print a timestamp with millisecond resolution.
# Leading digits for the seconds-part are discarded to help the result fit
# within a 32-bit integer.
S=`date +%s`
N=`date +%N`
echo "${S:5}${N:0:3}"
Something went wrong with that request. Please try again.