Sample code


Ref: JS Date