Friday, March 7, 2014

Magic Lantern for Canon EOS 550D


In the previous post told how to do a JavaScript timer to reach a certain particular date. The date I had was on the server, which works with PHP, but as I said, the counter uses JavaScript. Although one might think that the two are compatible, envelope templates it is not. In PHP I use the strtotime () function that converts most formats of dates to UNIX timestamp format (number of seconds since 1970). In JavaScript, use the Date () function that accepts as a parameter a string with the date or a number with the timestamp. Spend the strtotime () in PHP to Date () JavaScript you? Well it is not enough, are not compatible, to work you need to multiply by 1000, ie (JavaScript syntax) var date = new Date (<php echo strtotime ($ nuestra_fecha) envelope templates * 1000;?>);
Magic Lantern for Canon EOS 550D
2013 (9) September envelope templates (4) January (1) February (1) January (3) 2012 (26) November (2) October (2) September (1) July (6) June (2) April (2) February (10) December (1) 2011 (40) January (2) October (2) October (6) October (4) August envelope templates (1) July (6) June (3) May (1) April (3) March (6) February (3) February (3) 2010 (28) March (6) October (14) From Android to iPhone? Dynamic IP and DynDNS Ubuntu View and kill processes dates Pass PHP MySQL JavaScript Countdown envelope templates javaScript Increase in MySQL field with a single update Drag and Drop with JTree in Swing Plugins for Firefox TODO: Related Posts Subclipse, JavaHL and Windows7 Install 64bit virtual disk. vhd without envelope templates starting the machine ... Making backup "Windows XP Mode" Recalling the magic of SSH tunnels AppInventor, the new invention of google for Andro ... October (1) October ( 3) August (4)


No comments:

Post a Comment