Hi Drew,
I normally use my own method to do what you are trying. Please find
attached a sample code which I believe will solve your purpose. In the
code I have used system date just for example. You can pass any valid
date.

USAGE:
****************
eyeMAC:~/Desktop ccdbbsr$ javac DateConverter.java
eyeMAC:~/Desktop ccdbbsr$ java DateConverter "MMMddyyyy"
06-21-2006  MM-dd-yyyy  MMMddyyyy
Jun212006

Let me know if that resolves your issue.

Thanks,
Tanmoy

On 6/21/06, Drew Thoeni <[EMAIL PROTECTED]> wrote:
I have a UNIX timestamp (seconds since 1/1/70) that is a string and
am trying to convert it to an NSTimestamp. I can find plenty of info
on converting strings to dates, but all the methods expect dates in
some month-day-year format. I'm pretty sure others have faced this.
Ideas?

Regards,

Drew
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/tanmoy.roy%40gmail.com

This email sent to [EMAIL PROTECTED]



--
Best,
Tanmoy

Attachment: DateConverter.java
Description: Binary data

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to