MYENV=$(date +"%s%N") printf "Time:: %s\n" "$MYENV"
MYENV1=$(date +"%T%N") printf "Time:: %s\n" "$MYENV1"
I tried above methods, they do work in regular linux but not working in buildroot.
1606718041%N is the output being printed.
What does this mean? Is this a specific format? How to decode this?
(If I'm not wrong this is the time since epoch, correct ?)