ユリウス日

1 次查看(过去 30 天)
高倉
高倉 2023-3-18
评论: 高倉 2023-3-19
2023年3/23 18時23分45秒の、ユリウス日をマトラボをつかって、計算したいのですが、過程と結果を教えてください。

回答(1 个)

Hernia Baby
Hernia Baby 2023-3-19
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
  1 个评论
高倉
高倉 2023-3-19
ありがとうございます

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 日付と時刻 的更多信息

Community Treasure Hunt

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

Start Hunting!