如何啟用靜態時間但仍有動態日期? (How do I enable a static time but still have dynamic date?)


問題描述

如何啟用靜態時間但仍有動態日期? (How do I enable a static time but still have dynamic date?)

有沒有人好心地建議任何在保持時間的同時允許更改日期的方法?

例如,單元格 A1 有 3‑Feb 2020 07:45:00

我想格式化/修復它,以便當我輸入任何其他日期時例如 8‑Feb 2020 它將自動顯示為 8‑Feb 2020 07: 45:00。

感謝任何幫助或建議。


參考解法

方法 1:

Format Cell on this format as mentioned below.

dd‑mm‑yyyy "07:45:00"

Screenshot:

enter image description here

(by hans smithDon David)

參考文件

  1. How do I enable a static time but still have dynamic date? (CC BY‑SA 2.5/3.0/4.0)

#Time #Date #excel #format






相關問題

時間戳轉換關閉了一個小時 (Timestamp conversion is off by an hour)

使用 Java 的 Date 和 Calendar 類將分鐘轉換為一周 (Convert minutes into a week to time using Java's Date and Calendar classes)

PHP - 將 12 小時格式的 GMT 時間轉換為具有延遲時間的新時區 (PHP - Convert a GMT Time in 12 Hour Format to new Timezone with a delay time)

使用時區支持來構建 unix 時間戳 (Flooring a unix timestamp with timezone support)

clock_gettime 返回一個無意義的值 (clock_gettime returning a nonsense value)

計算兩個 TimeSlot 共有的時間 (Calculate Time that two TimeSlots have in Common)

在 python 的打開文件循環中匯集消息的推薦方法 (Recommended method to pool messages in a open file loop for python)

OnTime 時間戳值翻倍 (OnTime TimeStamp Value Doubling Up)

使用 MYSQL 計算同一列與組中的許多日期之間的時間 (calculating time between many dated in the same column with group by using MYSQL)

基於 Tkinter 中的時間列表創建自動倒計時 (Creating an automatic countdown based on a time list in Tkinter)

如何啟用靜態時間但仍有動態日期? (How do I enable a static time but still have dynamic date?)

如何根據 Python 中的本地日曆計算一天中的實際小時數? (How do I calculate the actual number of hours in a day according to a local calendar in Python?)







留言討論