Demonstration of java timestamp