começa agora…

27, October, 2008

[Mon Oct 27 01:49:00 BRST 2008]
0 segundos elapsed.

[Tue Nov 18 11:17:14 BRST 2008]
1931294 seconds elapsed.

echo [`date`] ; inicio=`date --date='Mon Oct 27 01:49:00' +%s` ; agora=`date +%s` ; elapsed=$(($agora-$inicio)) ; echo $elapsed seconds elapsed

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: