Postgresql Convert Date To String Python Functions W3schools