Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript"><!--
- var d = new Date();
- var day = d.getDay();
- switch(day) {
- case 5:
- document.write("Today is friday");
- case 6:
- document.write("Today is saturday");
- case 0:
- document.write("Today is sunday");
- default:
- document.write("There is a lot until saturday");
- }
- --></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement