get utc timestamp for utc

#cat /sys/class/rtc/rtc0/since_epoch 

1577169255

or

# cat /sys/class/rtc/rtc1/timestamp0
1544829583



posted @ 2019-12-24 14:39  嵌入式实操  阅读(412)  评论(0编辑  收藏  举报