如何使用德尔福计算当前日期的日出和日落时间 [英] How to calculate sunrise and sunset time for current date with Delphi

查看:119
本文介绍了如何使用德尔福计算当前日期的日出和日落时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要确定当天的日出和日落时间(当地时间),给出特定的纬度和经度,并使用Delphi(我正在使用XE2)。我发现这篇文章,并使用了 SysTools库,但结果不符合英国已发表的表格。

I need to determine sunrise and sunset times (local time) for the current day given a specific latitude and longitude and using Delphi (I am using XE2). I've found this article and used the SysTools library but the results do not agree with published tables for the UK.

有没有人看到这个pascal算法?

Has anyone seen a pascal algorithm for this?

推荐答案

随机网站:

  • SunTime Component
  • Torry's Delphi Pages

这篇关于如何使用德尔福计算当前日期的日出和日落时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆