AS3 Get formatted time from dirty timestamp string

/ Published in: ActionScript 3
Save to your folder(s)

I was working on a project where the timestamp string I was getting from the backend developer was pretty dirty in the way it was formatted. For example, it looked like "/Date(1310127448000+0100)/". I needed to get a nicely formatted time from it in the format hrs:mins

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.