Support Center

Display a dynamical date / year/ time stamp

Last Updated: Feb 21, 2014 07:48AM EST
Display a dynamical year ( e.g for copyright)

<span id="spanDate"></span>
<script type="text/javascript">
var tomorrow = new Date();      
document.getElementById("spanDate").innerHTML = tomorrow.getFullYear()
</script>

Display a dynamical time stamp: day/month/year
<span id="spanDate"></span>
<script type="text/javascript">
           var months = ['January','February','March','April','May','June','July',
'August','September','October','November','December'];       
var tomorrow = new Date();
tomorrow.setTime(tomorrow.getTime() + (1000*3600*24));       
document.getElementById("spanDate").innerHTML = months[tomorrow.getMonth()] + " " + tomorrow.getDate()+ ", " + tomorrow.getFullYear();
    </script>

Liquid error: undefined method `gsub' for nil:NilClass

assistly@premium-webhelp.com
http://assets0.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete