Skip to content

Commit 3b64c66

Browse files
committed
feat(globa): add timestamp snippet
1 parent fc8f183 commit 3b64c66

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

snippets/global.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@
4545
],
4646
"description": "I give you back the time and date (Y-m-d H:M)"
4747
},
48+
"timestamp": {
49+
"prefix": "timestamp",
50+
"body": [
51+
"${CURRENT_SECOND_UNIX}"
52+
],
53+
"dsecription": "I give you back the current timestamp (seconds since unix epoch)"
54+
},
4855
"uuid": {
4956
"prefix": "uuid",
5057
"body": "${UUID}",

0 commit comments

Comments
 (0)