What I am needing to do it to get the current date from the users computer say 1/1/2010 then I want to be able to convert this date into epoch time which would create the epoch time being 1291161600
I have include the example codes I have found but I do not know what I am doing with it.
Many thanks as always for your help
//set date var
d = new Date();
var day = d.getDate();
var year = d.getFullYear();
var month = d.getMonth() + 1;
//make date string
var date = year + "/" + month + "/" + day;
<script> var myDate = ("date"); // Your timezone!
var myEpoch = myDate.getTime()/1000.0;