Click here to Skip to main content
16,021,823 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
JavaScript
<script type="text/javascript">
    var currentTime = new Date()
    var hours = currentTime.getHours()
    var minutes = currentTime.getMinutes()
    var timeStamp = (hours + ":" + minutes + " ");</script>

onClick="_gaq.push(['_trackEvent', 'cata', 'act', 'label','timeStamp '])"



I am trying to pass the current time as a value but i cannot get it work any idea
Posted
Updated 6-Dec-11 5:05am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900