API:Setnotificationtimestamp/Sample code 1