如何在iPhone中将NSDate打印为儒略历格式的日期? [英] How to print the NSDate as Julian calendar formatted date in iphone?
本文介绍了如何在iPhone中将NSDate打印为儒略历格式的日期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想显示儒略历格式的日期.如何使用NSLog做到这一点?我只有格鲁吉亚日历值.
I want to display Julian Calendar formatted dates. How can I do this using NSLog? I only got the Georgian calendar values.
推荐答案
您可以使用此公式将公历日期转换为儒略日期.
You can use this formula to convert Gregorian calendar date to Julian date.
这篇关于如何在iPhone中将NSDate打印为儒略历格式的日期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文