var date =new Date().getDay();
switch(day){
case 6:x="saturday";break;
case 0:x="sunday" ;break;
default: x="looking for weekend"
}
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
光阴似箭催人老,日月如移越少年。