adc转换时钟

There are two primary methods of showing the time. First there's the 12 hour clock that uses AM and PM, and then there's the 24 hour clock.

显示时间的主要方法有两种。 首先是使用AMPM12小时制 ,然后是24小时制

Most countries prefer the 24 hour clock method, but the 12 hour clock is widely used in Latin America and English-speaking countries. In the 12 hour clock method, it is 12:00 twice a day at midnight (AM) and noon (PM).

大多数国家/地区更喜欢24小时制,但是12小时制在拉丁美洲和英语国家广泛使用。 在12小时制中,每天两次是午夜(AM)和中午(PM)的12:00。

The table below shows the conversion between the 12 hour and 24 hour clock systems:

下表显示了12小时制和24小时制之间的转换:

12 hour clock 24 hour clock
12:00 AM 00:00
01:00 AM 01:00
02:00 AM 02:00
03:00 AM 03:00
04:00 AM 04:00
05:00 AM 05:00
06:00 AM 06:00
07:00 AM 07:00
08:00 AM 08:00
09:00 AM 09:00
10:00 AM 10:00
11:00 AM 11:00
12:00 PM 12:00
01:00 PM 13:00
02:00 PM 14:00
03:00 PM 15:00
04:00 PM 16:00
05:00 PM 17:00
06:00 PM 18:00
07:00 PM 19:00
08:00 PM 20:00
09:00 PM 21:00
10:00 PM 22:00
11:00 PM 23:00
12小时制 24小时制
12:00 AM 00:00
上午01:00 01:00
上午02:00 02:00
上午03:00 03:00
上午04:00 04:00
上午05:00 05:00
上午06:00 06:00
上午07:00 07:00
上午08:00 08:00
上午09:00 09:00
10:00 AM 10:00
11:00 AM 11:00
12:00 PM 12:00
下午01:00 13:00
下午02:00 14:00
下午03:00 15:00
下午04:00 16:00
下午05:00 17:00
下午06:00 18:00
下午07:00 19:00
下午08:00 20:00
下午09:00 21:00
下午10:00 22:00
下午11:00 23:00

12小时制 (12 hour clock)

The day is split into two 12 hour periods running from midnight to noon (AM hours), and noon to midnight (PM hours).

一天分为两个12小时时段,从午夜到中午(AM小时),从中午到午夜(PM小时)。

The abbreviations AM and PM are from Latin:

AM和PM的缩写来自拉丁语:

  • AM: ante meridiem, before midday

    AM: 午夜之前

  • PM: post meridiem, after midday

    下午: 午后 ,午后

24小时制 (24 hour clock)

The day runs from midnight to midnight and is divided into 24 hours from 0 (midnight) to 23. Time is shown in hours and minutes since midnight.

白天从午夜到午夜,从0(午夜)到23分为24小时。时间以午夜以来的小时和分钟表示。

从12小时制转换为24小时制 (Converting from 12 hour to 24 hour clock)

Starting from the first hour of the day (12:00 AM or midnight to 12:59 AM), subtract 12 hours:

从一天的第一小时(12:00 AM或午夜至12:59 AM)开始,减去12小时:

  • 12:00 AM = 0:0012:00 AM = 0:00
  • 12:15 AM = 0:1512:15 AM = 0:15

From 1:00 AM to 12:59 PM, the hours and minutes remain the same:

从1:00 AM到12:59 PM,小时和分钟保持不变:

  • 9:00 AM = 9:009:00上午= 9:00
  • 12:59 PM = 12:5912:59 PM = 12:59

For times between 1:00 PM to 11:59 PM, add 12 hours:

对于1:00 PM到11:59 PM之间的时间,请增加12小时:

  • 3:17 PM = 15:173:17 PM = 15:17
  • 11:59 PM = 23:59.11:59 PM = 23:59。

从24小时制转换为12小时制 (Converting from 24 hour to 12 hour clock)

Starting from the first hour of the day (0:00 / midnight to 0:59), add 12 hours and AM to the time:

从一天的第一小时(0:00 /午夜到0:59)开始,将12小时加AM:

  • 0:30 = 12:30 AM0:30 = 12:30 AM
  • 0:55 = 12:55 AM0:55 = 12:55 AM

From 1:00 to 11:59, simply add AM to the time:

从1:00到11:59,只需将AM添加到时间:

  • 2:25 = 2:25 AM2:25 = 2:25 AM
  • 9:30 = 9:30 AM9:30 = 9:30上午

For times between 13:00 to 23:59, subtract 12 hours and add PM to the time:

对于13:00到23:59之间的时间,请减去12小时并将PM添加到该时间:

  • 16:55 = 4:55 PM16:55 =下午4:55
  • 21:45 = 8:45 PM21:45 = 8:45下午

翻译自: https://www.freecodecamp.org/news/mathematics-converting-am-pm-to-24-hour-clock/

adc转换时钟

adc转换时钟_24小时时钟转换器:如何将AM / PM转换为24小时时间相关推荐

  1. python 24时制 时间转换 ,将12小时制AM \ PM 转换为24小时制

    问题描述: 我所拿到得数据样式是: 09/21/2022 7:45:26 PM ,09/21/2022 7:45:26 AM 我需要得到得结果是: 2022-09-21 19:45:26 问题解决: ...

  2. python24小时12小时转换_python将时间从12小时转换为24小时格式

    给出12小时AM / PM格式的时间,将其转换为军事(24小时)时间. 注意:午夜是12小时制的凌晨12:00:00和24小时制的00:00:00.中午是12小时制的12:00:00 PM和24小时制 ...

  3. python24小时12小时转换_Python程序将时间从12小时转换为24小时格式

    给定一个12小时AM/PM格式的时间,将其转换为军用(24小时)时间. 注意:午夜是12小时制的12:00:00 AM和24小时制的00:00:00.中午是12小时制的12:00:00 PM和24小时 ...

  4. php 12小时,使用php怎么将12小时制转换为24小时制

    使用php怎么将12小时制转换为24小时制 发布时间:2021-02-19 17:32:31 来源:亿速云 阅读:94 作者:Leah 使用php怎么将12小时制转换为24小时制?很多新手对此不是很清 ...

  5. MySQL关于把AM/PM格式的时间转换为24小时制的时间格式

    MySQL把AM/PM格式的时间转换为24小时制的时间格式 时间无序表达时,使用STR_TO_DATE函数进行转换,具体示例如下: select 交易时间,STR_TO_DATE(交易时间,'%m/% ...

  6. java12小时制的时间转换为24小时制

    import java.text.SimpleDateFormat; import java.util.Date;public class ceshi {public static void main ...

  7. 时间格式中,hh小写的是12小时制,大写(HH)是24小时制的。

    this.timeItem.Caption = DateTime.Now.ToLocalTime().ToString("yyyy-MM-dd hh:mm:ss"); //下午三点 ...

  8. date格式化输出 24小时 java_java - 将日期时间转换为24小时表单

    java - 将日期时间转换为24小时表单 我从服务器获得的时间就像Jul 27, 2011 8:35:29 AM. 我想将其转换为2011-07-27 08:35:29. 我还希望转换时间为24小时 ...

  9. 时间的坑yyyy-MM-dd HH:mm:ss代表将时间转换为24小时制

    java中的的日期格式为: yyyy-MM-dd HH:mm:ss:代表将时间转换为24小时制,例: 2018-06-27 15:24:21 yyyy-MM-dd hh:mm:ss:代表将时间转换为1 ...

最新文章

  1. 汽车票销售系统mysql,jsp683客运汽车票网上售票系统mysql
  2. 挣脱浏览器的束缚(7) - CrossSubDomainExecutor
  3. Spring核心技术原理-(1)-通过Web开发演进过程了解一下为什么要有Spring?
  4. 第三次学JAVA再学不好就吃翔(part109)--LineNumberReader类
  5. datax 导入数据中文乱码_浅谈数据同步之道
  6. 安全方向比路由交换难吗_「网工进阶」路由交换:链路聚合的配置,你都会吗...
  7. AgileConfig-轻量级配置中心 1.1.0 发布,支持应用间配置继承
  8. Python轻量级WEB框架web.py,模板使用
  9. Android学习之布局管理器嵌套
  10. arm linux 识别新硬盘_想玩树莓派却不会Linux?能装Windows的树莓派来了
  11. Vanya and Triangles 暴力枚举
  12. 网络编程在线英英词典之登录模块实现(四)
  13. JavaScript学习笔记——基础部分
  14. 利用matlab来设计FIR滤波器参数
  15. zeplin 登录效果实现
  16. JAVA面试题解惑系列(十)——话说多线程
  17. 【微信小程序】设备判断android还是ios及微信版本信息 ( 含工具类 )
  18. 每日一句_《鹧鸪天·西都作》
  19. linux ln 软连接_ln命令建立软链接
  20. Java实现手写数字的识别(BP神经网络的运用)

热门文章

  1. 2021-06-16 读书笔记-活着
  2. Python一维数据分析
  3. 无线传屏显示无法连接服务器,无线传屏,无线精彩
  4. windows系统中操作mysql数据库
  5. 2022年全球与中国半导体光掩膜市场现状及未来发展趋势
  6. js 把字符串转换成对象
  7. 河北大学计算机男女比例,全国高校男女比例排行榜出炉!黑龙江省这所学校女生多……...
  8. linux常用命令快查助手易语言源码
  9. 无人机图像的辐射定标方法
  10. 外星人入侵游戏python学习_外星人入侵:使用Python开发游戏