Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- var currentTime = new Date().getHours();
- if (7 <= currentTime && currentTime < 20) {
- echo "class='wrapper'";
- }
- else {
- echo "class='wrapper-grey'";
- }
- </script>
Add Comment
Please, Sign In to add comment