lib/update.utils
branchdns-new
changeset 95 a756f317d083
parent 87 cb4607af8663
child 98 a3734856e0fa
--- a/lib/update.utils	Thu Dec 19 22:00:37 2013 +0200
+++ b/lib/update.utils	Thu Dec 19 23:22:12 2013 +0200
@@ -91,3 +91,8 @@
         echo -n "${file#$dir/} "
     done
 }
+
+## Get current unix (utc) timestamp
+function unix_time {
+    date +'%s'
+}