current=`date "+%Y-%m-%d %H:%M:%S"`
timeStamp=`date -d "$current" +%s`
currentTimeStamp=$((timeStamp*1000+`date "+%N"`/1000000))
echo $currentTimeStamp
查看13位时间
猜你喜欢
转载自www.cnblogs.com/water-sky/p/11325727.html
今日推荐
周排行