/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk

« back to all changes in this revision

Viewing changes to scripts/time/monotime.sh

  • Committer: Suren A. Chilingaryan
  • Date: 2012-07-14 17:44:09 UTC
  • Revision ID: csa@dside.dyndns.org-20120714174409-cuzsy4vupyjx9lia
Update of setups

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
ticks=`expr $1 - 621355968000000000`
 
3
unixtime=`expr $ticks / 10000000`
 
4
perl -e "print 'Local Time:  ' . scalar(localtime($unixtime)) . \"\n\""
 
5
perl -e "print 'GMT   Time:  ' . scalar(gmtime($unixtime)) . \"\n\""