I have an application generating an expiration timestamp. I had some problems, so I debugged around a bit and it confuses me more and more.
I use this example: