Try this:
$x = Get-Date
You can get a list of all methods associated to the date object doing this:
$x | gm
You can format your date like this:
$x.ToString("yyyyMMdd hh:mm:ss")
All format options are described here. You can then normalize your dates and compare them easily.