Team:Gifu
From 2014.igem.org
(Difference between revisions)
Line 14: | Line 14: | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"> | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"> | ||
</script> | </script> | ||
+ | |||
+ | |||
+ | |||
+ | ///////////////////////////////////////// test | ||
+ | |||
+ | <SCRIPT LANGUAGE="JavaScript"> | ||
+ | var now = new Date(); | ||
+ | |||
+ | var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); | ||
+ | |||
+ | var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December'); | ||
+ | |||
+ | var date = ((now.getDate()<10) ? "0" : "")+ now.getDate(); | ||
+ | |||
+ | function fourdigits(number) { | ||
+ | return (number < 1000) ? number + 1900 : number; | ||
+ | } | ||
+ | today = days[now.getDay()] + ", " + | ||
+ | months[now.getMonth()] + " " + | ||
+ | date + ", " + | ||
+ | (fourdigits(now.getYear())) ; | ||
+ | |||
+ | document.write(today); | ||
+ | </script> | ||
+ | |||
+ | ////////////////// end of test | ||
Line 108: | Line 134: | ||
</noscript> | </noscript> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Revision as of 14:58, 1 September 2014