Added code snippets for day first.