Atithasos 2 Posted April 2, 2011 Report Share Posted April 2, 2011 Hello peopleIs it possible to convert the date time to seconds? Thanks in advance Quote Link to post Share on other sites
Atithasos 2 Posted April 2, 2011 Author Report Share Posted April 2, 2011 the javascript to do it is <script type="text/javascript">function startDate(){var dat=parseInt(new Date().getTime()/1000);alert(+dat)}</SCRIPT> But how i can use it in a parameter? PS. I add alert just to view the result! Quote Link to post Share on other sites
Atithasos 2 Posted April 2, 2011 Author Report Share Posted April 2, 2011 I done it!it was very simple! In case someone is need it here it isDateTime-Converter.ubot Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.