Shell装换时间格式为时间戳

date -d "2017-11-23 16:28:37" +%s


用上述命令可以实现

猜你喜欢

转载自blog.csdn.net/tiberx/article/details/78621015