ユリウス日

2023年3/23 18時23分45秒の、ユリウス日をマトラボをつかって、計算したいのですが、過程と結果を教えてください。

回答(1 个)

juliandateでいけると思います
まずはデータを用意します
timeString = "2023-3-23 18:23:45";
t = datetime(timeString);
t.TimeZone = 'America/New_York'
t = datetime
23-Mar-2023 18:23:45
ユリウス日に変換します
format longG
jd = juliandate(t)
jd =
2460027.43315972

类别

帮助中心File Exchange 中查找有关 Calendar 的更多信息

提问:

2023-3-18

评论:

2023-3-19

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!