I am using Facebook query language (FQL) to retrieve users dates. My FQL is as follows.
SELECT post_id , message
FROM stream
WHERE source_id = me()
AND actor_id = me()
AND created_time > 1221596000
Here I feel the created_time is in seconds.
I am using Java. Can anyone say me how to convert systems current date and time to the created_time seconds in Java?
System.currentTimeMillis()is epoch in millisecond. So, given a second is a thousand millisecond. You could easily convert this by dividing1000. Or I am missing anything?