RawRowsForSQL and NSTimestamp millis
RawRowsForSQL and NSTimestamp millis
- Subject: RawRowsForSQL and NSTimestamp millis
- From: Michael Hast <email@hidden>
- Date: Fri, 16 Mar 2012 16:54:30 -0700
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden