Date and Clock Modules

This is my first piece of JS - so feedback on style / approach / anything is very welcome!