how would i go about getting a julian date? (the amount of days since the epoch)
Should do the trick
<?php $julian=(time()/86400); printf("%01.0f", $julian); ?>
Roughly that is, not thought about the GMT hour thing...
I think there's a Date library in PEAR which can do this.
http://cvs.php.net/cvs.php/pear/Date