PHP’s time() uses Unix’s timestamp.
<?php print time(); ?>
Ruby:
print Time.now.to_i
Using just Time.now will not present the standard like PHP does.