Munkee:
these are then altered to the nice date format of
That's a helpful response, but be careful. Date values are
not altered at all. They are simply displayed differently. This may seem an unimportant point, but if you think about it, this confusion is the cause of most misunderstandings that relate to dates and times.
If you remember that dates are stored as dates (numbers exactly as Munkee has explained) and only ever appear as text when they are formatted for display, then they become much easier to work with without issue.
The rule of thumb is always to work with data in its native format, and only ever convert it to text for the purposes of display or transfer, and with a transfer, only when necessary and the other end understands to convert it back from text before loading the data.
PS. I wanted to add, to be absolutely clear, that this is not intended as a criticism of Munkee's post, which is very helpful. It is merely to make a very important point about that one critical issue.