You can buy this project and download/modify it how often you want.
Format the date time to string given the set format.