summaryrefslogtreecommitdiff
path: root/get-date-set
diff options
context:
space:
mode:
Diffstat (limited to 'get-date-set')
-rwxr-xr-xget-date-set3
1 files changed, 3 insertions, 0 deletions
diff --git a/get-date-set b/get-date-set
new file mode 100755
index 0000000..33e5024
--- /dev/null
+++ b/get-date-set
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo date -u -s "'$(date -u '+%Y-%m-%d %H:%M:%S')'"