Re: Happy 1234567890 day!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 13 Feb 2009 17:39:09 Daniel Brown :
> 2009/2/13 Lists <lists@xxxxxxx>:
> > :-)
> >
> > 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@xxxxxxxxxxxx || danbrown@xxxxxxx
> 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: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux