date&time working for first view