1

This is a bash date conversion/comparison question.
How do I compare dates $d1 and $d2 below where:
$d1 has format %-m/%-d/%Y %-I:%M %p (US-style %p with AM/PM)
and
$d2 has format %Y-%m-%dT%H:%M:%S.%3NZ
#!/usr/bin/bash
export d1='5/30/2024 7:52 PM'
export d2='2025-01-08T18:07:23.000Z'