技術文章
技術問答
iT 徵才
聊天室
2026 鐵人賽
登入/註冊
文章
問答
Tag
邦友
鐵人賽
搜尋
0
Excel formula
excel
marsxd
2017-03-26 14:05:16
‧
32376 瀏覽
分享至
Date & Time
Convert String to Time format
Desc: Convert string: [mm/dd/yyyy HH:MM:SS (AM/PM)] (12hr) to time: [yyyy/mm/dd HH:MM:SS] (24hr)
Formula: (A2 is the plain string.)
=DATE(MID(A2,7,4),MID(A2,1,2),MID(A2,4,2))+TIME(IF(AND(MID(A2,21,2)="PM",MID(A2,12,2)<"12"),MID(A2,12,2)+12,MID(A2,12,2)),MID(A2,15,2),MID(A2,18,2))
Example:
-11/25/2016 11:08:18 AM => 2016/11/25 11:08:18
-11/19/2016 12:08:49 PM => 2016/11/19 12:08:49
-11/21/2016 02:34:56 PM => 2016/11/21 14:34:56
(to be continued...)
留言
追蹤
檢舉
熱門推薦
{{ item.subject }}
{{ item.channelVendor }}
|
{{ item.webinarstarted }}
|
{{ formatDate(item.duration) }}
直播中
立即報名
尚未有邦友留言
立即登入留言
看影片追技術
看更多
{{ item.subject }}
{{ item.channelVendor }}
|
{{ formatDate(item.duration) }}
直播中
熱門tag
15th鐵人賽
16th鐵人賽
13th鐵人賽
14th鐵人賽
17th鐵人賽
12th鐵人賽
11th鐵人賽
鐵人賽
2019鐵人賽
javascript
2018鐵人賽
python
2017鐵人賽
windows
php
c#
linux
windows server
css
react
熱門問題
vs code不能執行npm找了很多方法
WSUS伺服器近期客戶端更新都會出現0x80244010
outlook2024 郵件圖檔無法顯示的情況
熱門回答
vs code不能執行npm找了很多方法
熱門文章
【 AI Agents 架構】很多人都在談 Loop Engineering,但實際上到底要怎麼做?
使用 Antigravity CLI 建置 Firebase AI Logic 應用程式
防範未然勝於事後補救:中小企業的資安必修課-1
Clean code 在 agent 時代不是品味問題,是營運成本
[Backup] 為什麼「有備份」不等於「救得回來」
IT邦幫忙
×
標記使用者
輸入對方的帳號或暱稱
Loading
找不到結果。
標記
{{ result.label }}
{{ result.account }}