Php 自定义日历转换
对于个人项目,我需要将PHP中的日期从公制转换为自定义日期。(当然,反过来也是如此) 自定义日期的工作方式如下:Php 自定义日历转换,php,date,type-conversion,Php,Date,Type Conversion,对于个人项目,我需要将PHP中的日期从公制转换为自定义日期。(当然,反过来也是如此) 自定义日期的工作方式如下: 24h => 2H30 1 season/month (it's the same) => 135 days of 2h30 1 years => 4 seasons of 135 days of 2h30 The year 400 correspond to 03/26 OOhOO. For exemple : 09:20 - 14 jun 2013 =>
24h => 2H30
1 season/month (it's the same) => 135 days of 2h30
1 years => 4 seasons of 135 days of 2h30
The year 400 correspond to 03/26 OOhOO.
For exemple : 09:20 - 14 jun 2013 => 91 Oridor 407 - 01 h 03 m
用这两种方法进行转换的最佳方法是什么
谢谢大家。我不了解你们的系统。你能详细说明一下吗?定制系统中的一天对应于我们公司的2h30。一个月有135天,一年有4个月。日历的起始日期是400年,即2013年3月26日。你的季节从哪一天开始?