如何在 Google Annotatedtimeline 中显示毫秒?
您能否帮助我使用 Google Visualization API 的 dateFormat 说明符,以便我可以显示毫秒。
提前致谢!
Can you please help me with the dateFormat specifier for Google Visualisation APIs so that I can display milliseconds.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要在 javascript 中设置 Date 实例的毫秒,请使用 setMilliseconds() 方法:
不过,我怀疑 Google Annotated Timeline 会显示以毫秒为单位的值。
To set the milliseconds of a Date instance in javascript, use the setMilliseconds() method:
I suspect that Google Annotated Timeline will show values in milliseconds, though.