/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/time.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
 
 
3
unixtime=`date +%s -u -d "$1"`
 
4
zeustime=`expr $unixtime + 2082844800`
 
5
perl -e "print 'Local Time:  ' . scalar(localtime($unixtime)) . \"\n\""
 
6
perl -e "print 'GMT   Time:  ' . scalar(gmtime($unixtime)) . \"\n\""
 
7
echo           "ZEUS  Time:  $zeustime"