I have a date of when a file was last updated, so it is a long, and I need to put it in a Sybase database as a datetime field.
I used the toString method of the Date object to get a
string, and it worked, but it did not give me the time, only the date, so when I put it into the database, the time defaulted to 12:00AM.
I need to create a string that has the date and time, and I do not see a method for the Date class that does that.
Can anyone help here,
Thanks in advance!
Rob