Re: Happy 1234567890 day!
| From: | Luke Slater | Date: | Fri, 13 Feb 2009 18:12:32 +0000 |
| Subject: | Re: Happy 1234567890 day! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288225@lists.php.net to get a copy of this message | ||
On Friday 13 Feb 2009 17:39:09 Daniel Brown :
> 2009/2/13 Lists <lists@euca.us>:
> > :-)
> >
> > Donovan
>
> To you, as well! I think it's really neat. For us in the EST
> time zone, with time adjustments and such, it'll be 6:31:30p tonight.
>
> <?php echo strtotime("February 13, 2009 6:31:30 PM"); ?>
>
> --
> </Daniel P. Brown>
> daniel.brown@parasane.net || danbrown@php.net
> http://www.parasane.net/ ||
> http://www.pilotpig.net/
> Unadvertised dedicated server deals, too low to print - email me to find
> out!
Odd that I should see this on here, I wrote a script in PHP to calculate the
time left to 1234567890 earlier...
<?php
print "Unix timestamp is: " . time() . "\n";
$left = 1234567890 - time();
print "Time left til 1234567890 is: ". $left . "\n";
But if we're being all obfuscated you could do:
<?php print "Time left: " . 1234567890 - time();
Attachment: [application/pgp-signature] This is a digitally signed message part. signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part. signature.asc