Store a date in a specific format after entering in another format and doing calculation against it