如何使用波斯日期(Shamsi)? [英] How can I use Persian date (Shamsi)?

查看:98
本文介绍了如何使用波斯日期(Shamsi)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想直接在Excel 2007工作表中使用波斯日期(Hijri-Shamsi)作为计算基础。那怎么可能?

I'd like to use Persian date (Hijri- Shamsi) in Excel 2007 worksheet directly as the base of calculation. How is that possible?

推荐答案

我将通过 VBA 将波斯日期转换为儒略日期,并使用标准Excel执行计算函数,然后使用 VBA

I would convert the Persian dates to Julian dates via VBA , perform the calculations with standard Excel functions and then convert them back to Persian with VBA

我发布了一个参考书此处

I posted a reference here

这篇关于如何使用波斯日期(Shamsi)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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