Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 6
Registered: ‎02-20-2009
My Device: Not Specified

SMS Message.getTimestamp()

I am using the Message.getTimestamp() method to return the time an SMS message was sent. Does anyone know what this date and time actually is?


I am assuming this method returns the timestamp contained in the message string (from the senders SMS Messaging Centre), and not the timestamp that the blackberry SMS app gives to the message when it displays it?


BlackBerry Development Advisor
Posts: 15,760
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: SMS Message.getTimestamp()

The date returned from Message.getTimestamp() is the date that is set by the SMSC (SMS Service Center).
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker