【发布时间】:2020-10-22 05:40:28
【问题描述】:
我使用了下面的代码,但延迟了一小时。增加一小时是个好方法吗?
*todayISOString : any = new Date();
{{todayISOString | date:'h:mm:ss a': 'UTC-6'}}*
实际上我正在寻找以下时区。 Required Time Zone Image
【问题讨论】:
-
这能回答你的问题吗? Angular: Convert UTC to local date time
-
您已经可以找到解决方案。可能是重复的问题:stackoverflow.com/questions/49634707/…
标签: javascript html angular typescript