Hello @AdamKozmic-7665 , as you already found, you cannot apply string transformations to a date or datetime claim. You can, however, develop a custom API just for this purpose and consume it from your custom policy. For more information take a look to Calling a RESTful service.
Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.