fix date/time generation in proper div