Skip to content

Instantly share code, notes, and snippets.

@walterdavis
Forked from trey/gist:134815
Created September 15, 2010 12:05
Show Gist options
  • Save walterdavis/580634 to your computer and use it in GitHub Desktop.
Save walterdavis/580634 to your computer and use it in GitHub Desktop.
<!-- PHP -->
<?php echo date('Y'); ?>
<!-- Django -->
{% now "Y" %}
<!-- Rails -->
<%= Date.today.year %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment