<small id='0fiTB'></small><noframes id='0fiTB'>

<i id='0fiTB'><tr id='0fiTB'><dt id='0fiTB'><q id='0fiTB'><span id='0fiTB'><b id='0fiTB'><form id='0fiTB'><ins id='0fiTB'></ins><ul id='0fiTB'></ul><sub id='0fiTB'></sub></form><legend id='0fiTB'></legend><bdo id='0fiTB'><pre id='0fiTB'><center id='0fiTB'></center></pre></bdo></b><th id='0fiTB'></th></span></q></dt></tr></i><div id='0fiTB'><tfoot id='0fiTB'></tfoot><dl id='0fiTB'><fieldset id='0fiTB'></fieldset></dl></div>
  • <legend id='0fiTB'><style id='0fiTB'><dir id='0fiTB'><q id='0fiTB'></q></dir></style></legend>

        • <bdo id='0fiTB'></bdo><ul id='0fiTB'></ul>
      1. <tfoot id='0fiTB'></tfoot>

      2. 将 2010-04-16 16:30:00 转换为“明天下午"

        Convert 2010-04-16 16:30:00 to quot;Tomorrow Afternoonquot;(将 2010-04-16 16:30:00 转换为“明天下午)
            <tbody id='2S1Ld'></tbody>

            <small id='2S1Ld'></small><noframes id='2S1Ld'>

            <tfoot id='2S1Ld'></tfoot>

                <bdo id='2S1Ld'></bdo><ul id='2S1Ld'></ul>
              • <legend id='2S1Ld'><style id='2S1Ld'><dir id='2S1Ld'><q id='2S1Ld'></q></dir></style></legend>
                  <i id='2S1Ld'><tr id='2S1Ld'><dt id='2S1Ld'><q id='2S1Ld'><span id='2S1Ld'><b id='2S1Ld'><form id='2S1Ld'><ins id='2S1Ld'></ins><ul id='2S1Ld'></ul><sub id='2S1Ld'></sub></form><legend id='2S1Ld'></legend><bdo id='2S1Ld'><pre id='2S1Ld'><center id='2S1Ld'></center></pre></bdo></b><th id='2S1Ld'></th></span></q></dt></tr></i><div id='2S1Ld'><tfoot id='2S1Ld'></tfoot><dl id='2S1Ld'><fieldset id='2S1Ld'></fieldset></dl></div>
                1. 本文介绍了将 2010-04-16 16:30:00 转换为“明天下午"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  将 2010-04-16 16:30:00 转换为明天下午"或将另一个日期转换为今天下午"、明年"、下周星期三".你得到图片.有人知道可以做到这一点的 PHP 或 Javascript 库吗?

                  Convert 2010-04-16 16:30:00 to "Tomorrow Afternoon" or convert another date to "this afternoon", "next year", "next week wednesday". You get the picture. Anyone know of a PHP or Javascript library that can do this?

                  推荐答案

                  我认为您可以通过这里所说的内容取得长足进步:在 C# 中计算相对时间
                  逻辑就在那里,如果其他语言的解决方案适合您,那么做 javascript 等效项并不难.

                  I think you can come a long way with what is said here: Calculate relative time in C#
                  The logic is there, and it's not too hard to do the javascript equivalent if a solution in a different language suits you.

                  这篇关于将 2010-04-16 16:30:00 转换为“明天下午"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Converting string to MySQL timestamp format in php(在php中将字符串转换为MySQL时间戳格式)
                  datetime to timestamp(日期时间到时间戳)
                  PHP timestamp date to user timezone(PHP时间戳日期到用户时区)
                  Converting TIMESTAMP to unix time in PHP?(在 PHP 中将 TIMESTAMP 转换为 unix 时间?)
                  Convert ISO 8601 to unixtimestamp(将 ISO 8601 转换为 unixtimestamp)
                  Finding days between 2 unix timestamps in php(在php中查找2个unix时间戳之间的天数)
                  <legend id='8HoLe'><style id='8HoLe'><dir id='8HoLe'><q id='8HoLe'></q></dir></style></legend>

                  <small id='8HoLe'></small><noframes id='8HoLe'>

                  <tfoot id='8HoLe'></tfoot>

                  <i id='8HoLe'><tr id='8HoLe'><dt id='8HoLe'><q id='8HoLe'><span id='8HoLe'><b id='8HoLe'><form id='8HoLe'><ins id='8HoLe'></ins><ul id='8HoLe'></ul><sub id='8HoLe'></sub></form><legend id='8HoLe'></legend><bdo id='8HoLe'><pre id='8HoLe'><center id='8HoLe'></center></pre></bdo></b><th id='8HoLe'></th></span></q></dt></tr></i><div id='8HoLe'><tfoot id='8HoLe'></tfoot><dl id='8HoLe'><fieldset id='8HoLe'></fieldset></dl></div>

                        • <bdo id='8HoLe'></bdo><ul id='8HoLe'></ul>
                            <tbody id='8HoLe'></tbody>