vagrantradio on 06/09/10
Last Edited at 06/09/10 10:58am
<% java.util.Date today = new java.util.Date(); java.util.Date ad = new java.util.Date("May 25, 2010 12:00 AM");%><% if (today.compareTo(ad) > 0){ %> Displays after date<%} else {%> Displays before date<% } %>
Report this snippet Tweet
Comment:
You need to login to post a comment.