开发者

How to convert time from CEST to UTC in flex?

How I can convert "23-08-2012 00开发者_开发技巧:00:00 CEST" to UTC format in flex?

Thanks


If your date is a string, you can use the DateFormatter to convert it to a Date type and then get UTC time from there:

var date:Date = DateFormatter.parseDateString(dateString);
date.getUTCDate();

You can see all the UTC functions at the Date API reference.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜