Simple helper for Deno to convert Date format to string. Possibility to use predefined or custom formats.