Make date work in prompt