Update Dates.cs

The ToUnixTime() method assumed the current timezone as GMT 0. The method now corrently converts the specified DateTime to universal time. The start of the UNIX epoch is now also based on UTC rather than the current timezone.