public static String format_date(EvaluationContext ctx, Object text) {
        ZonedDateTime _dt = Conversions.toDateTime(text, ctx).withZoneSameInstant(ctx.getTimezone());
        return ctx.getDateFormatter(true).format(_dt);
    }
public static String format_date ( EvaluationContext ctx , Object text ) { ZonedDateTime _dt = Conversions . toDateTime ( text , ctx ) . withZoneSameInstant ( ctx . getTimezone ( ) ) ; return ctx . getDateFormatter ( true ) . format ( _dt ) ; }
Formats a date according to the default org format