changes to get date info using substrings to avoid auto changing to user's local time