数据库用时间戳记录的.有时候查询到的数据,需要转换过来,每次都写东西,或者去网站挺麻烦的,就写了个简单东西.
https://github.com/wizarot/sublime_timestamp
key + tab
key format example
now Y-m-d H:i:s 2014-11-22 14:41:54
tsnow timestamp 140xxxxxxx
2014-12-22-05-5-23 timestamp 140xxxxxxx
安装好后,输入 now+tab键, 就转换为当前时间
tsnow+tab键,转换为当前时间戳
时间戳+tab键,转换为时间戳对应时间
2014-12-22-05-5-23+tab键,转换为年月日对应的时间戳.方便写select语句的时间戳条件
希望有人能喜欢.
https://github.com/wizarot/sublime_timestamp
https://github.com/wizarot/sublime_timestamp
key + tab
key format example
now Y-m-d H:i:s 2014-11-22 14:41:54
tsnow timestamp 140xxxxxxx
2014-12-22-05-5-23 timestamp 140xxxxxxx
安装好后,输入 now+tab键, 就转换为当前时间
tsnow+tab键,转换为当前时间戳
时间戳+tab键,转换为时间戳对应时间
2014-12-22-05-5-23+tab键,转换为年月日对应的时间戳.方便写select语句的时间戳条件
希望有人能喜欢.
https://github.com/wizarot/sublime_timestamp
