- Timestamp:
- 05/22/13 15:12:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/function/function.php
r16016 r16020 16 16 var year2 = currentDate2.getFullYear(); 17 17 var fullday2=day2+'-'+month2+'-'+year2; 18 18 var currentDate = new Date(); 19 var day; 20 var month; 21 var year; 22 var fullday; 19 23 <?php 20 24 if($_GET['day'] || $_GET['month'] || $_GET['year']){ … … 22 26 ?> 23 27 24 varday = <?php echo $_GET['day']; ?>25 varmonth = <?php echo $_GET['month']; ?>26 varyear = <?php echo $_GET['year']; ?>27 varfullday=day+'-'+month+'-'+year;28 day = <?php echo $_GET['day']; ?> 29 month = <?php echo $_GET['month']; ?> 30 year = <?php echo $_GET['year']; ?> 31 fullday=day+'-'+month+'-'+year; 28 32 29 33 … … 35 39 36 40 ?> 37 var currentDate = new Date();38 var day = currentDate.getDate();39 varmonth = currentDate.getMonth() + 1;40 varyear = currentDate.getFullYear();41 varfullday=day+'-'+month+'-'+year;41 42 43 month = currentDate.getMonth() + 1; 44 year = currentDate.getFullYear(); 45 fullday=day+'-'+month+'-'+year; 42 46 <?php } ?> 47 43 48 <?php 44 49
Note:
See TracChangeset
for help on using the changeset viewer.