Hello,
I'm using CSmsMessage::Time() to get the time of sms creation (on the sender side). But always I get the current time. I'm using socket to read from and later I'm using CSmsMessage to parse the received data:
The problem is that message->Time() does not return the correct time but the time when the sms was received.Code:CSmsBuffer* buffer = CSmsBuffer::NewL(); CleanupStack::PushL( buffer ); CSmsMessage* message = CSmsMessage::NewL( iFs, CSmsPDU::ESmsDeliver, buffer ); CleanupStack::Pop( buffer ); CleanupStack::PushL( message ); RSmsSocketReadStream readStream( iReadSocket ); CleanupClosePushL( readStream ); message->InternalizeL( readStream ); CleanupStack::PopAndDestroy( &readStream ); TPtrC number = message->ToFromAddress(); iTime = message->Time();



