summaryrefslogtreecommitdiff
path: root/now.pl
diff options
context:
space:
mode:
Diffstat (limited to 'now.pl')
-rw-r--r--now.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/now.pl b/now.pl
new file mode 100644
index 00000000..60e227ec
--- /dev/null
+++ b/now.pl
@@ -0,0 +1,6 @@
+#!/usr/bin/perl
+#
+# Print the time as a hexadecimal integer
+#
+
+printf "\'0x%08x\'\n", time;