Hello:

I am experiencing an interesting issue. I have an EO that has a dateModified attribute. I am fetching that EO and print out the dateModified (see below). Everything is fine. Now I am doing a rawRowsForSQL fetch for that same attribute and am getting back an NSTimestamp which appears to be the same, but the milli seconds are 000. Why does the rawRowsForSQL query 0 out the milli seconds?

sqlString: select DATE_MODIFIED from IDEA where IDEA_ID = 15347

NSTimestamp
rawRows value : 2012-03-16 22:35:03 Etc/GMT
EO value          : 2012-03-16 22:35:03 Etc/GMT

NSTimestamp.getTime()
rawRows value : 1331937303000
EO value           : 1331937303211

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

This email sent to [email protected]

Reply via email to