blog:aardvaark:perseverance
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:aardvaark:perseverance [2020/11/03 11:09] – Phil Ide | blog:aardvaark:perseverance [2021/01/15 10:10] (current) – Phil Ide | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOCACHE~~ | ~~NOCACHE~~ | ||
====== Perseverance Rover ====== | ====== Perseverance Rover ====== | ||
- | < | + | < |
=== === | === === | ||
Perseverance has launched succesfully and the clock is now counting flight and ETA time. It is due to land on Mars on (times and countdown timer based on NASA's timer):\\ | Perseverance has launched succesfully and the clock is now counting flight and ETA time. It is due to land on Mars on (times and countdown timer based on NASA's timer):\\ | ||
Line 14: | Line 14: | ||
See also NASA's [[https:// | See also NASA's [[https:// | ||
+ | <PHP> | ||
+ | /* | ||
+ | $xppage = file_get_contents(" | ||
+ | $apage = explode("< | ||
+ | $xpage = str_replace( "& | ||
+ | $xpage = json_decode($xpage); | ||
+ | $xpage = ' | ||
+ | echo "< | ||
+ | */ | ||
+ | </ | ||
<JS> | <JS> | ||
+ | var vvdate = ' | ||
var ldopts = {hour: ' | var ldopts = {hour: ' | ||
// | // | ||
- | launch_date = new Date(' | + | //launch_date = new Date(' |
+ | launch_date = new Date(vvdate); | ||
document.getElementById(' | document.getElementById(' | ||
launch_date.setHours(launch_date.getHours()-1); | launch_date.setHours(launch_date.getHours()-1); | ||
Line 26: | Line 38: | ||
document.getElementById(' | document.getElementById(' | ||
- | launch_date = new Date(' | + | //launch_date = new Date(' |
+ | launch_date = new Date(vvdate); | ||
launch_date.setHours(launch_date.getHours()+8); | launch_date.setHours(launch_date.getHours()+8); | ||
document.getElementById(' | document.getElementById(' |
blog/aardvaark/perseverance.txt · Last modified: 2021/01/15 10:10 by Phil Ide