Is there any function available to convert or format date in following format. yyyy-mm-dd hh:mm:ss