Changed getDate so that it does not use Locale