下面介绍如何使用mathematica计算一个国家所有时区的当前时间的详细方法。
工具/原料
Mathematica11
方法/步骤
1
计算中国全国所有时区的当前时间:在mathematica命令行中,输入LocalTime[Entity['Country', 'China'], Now, List],然后按Enter+Shift,得到所要的结果
2
计算俄罗斯全国所有时区的当前时间:在mathematica命令行中,输入LocalTime[Entity['Country', 'Russia'], Now, List],然后按Enter+Shift,得到所要的结果
3
计算加拿大全国所有时区的当前时间:在mathematica命令行中,输入LocalTime[Entity['Country', 'Canada'], Now, List],然后按Enter+Shift,得到所要的结果
4
计算澳大利亚全国所有时区的当前时间:在mathematica命令行中,输入LocalTime[Entity['Country', 'Australia'], Now, List],然后按Enter+Shift,得到所要的结果
5
计算法国全国所有时区的当前时间:在mathematica命令行中,输入LocalTime[Entity['Country', 'France'], Now, List],然后按Enter+Shift,得到所要的结果
6
计算日本全国所有时区的当前时间:在mathematica命令行中,输入LocalTime[Entity['Country', 'Japan'], Now, List],然后按Enter+Shift,得到所要的结果
上一篇:企业官网制作流程