$ 0 0 I tested many datetime formats and it's working. The only case that failed is when the date is not correct. Thanks for help.