搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to get only the date without the time in the footer of a printout?

more options

Is there a way to get only the date without the time in the footer of a printout?

Is there a way to get only the date without the time in the footer of a printout?

所有回覆 (3)

more options
more options

Well, I see where it shows how to get the date and time, which I already knew, but I don't see where it shows how to get the date without the time.

more options

As far as I can tell, there's no built-in option to get the date printed without the time. It's hardcoded in a C++ file.

As a workaround, you can enter custom text for the footer, but it would need to be updated every time the date changed. I can think of a couple ways to automate that:

  • An add-on (but I'm not aware of any add-on for this)
  • External process to push a new date into prefs.js, a settings file that stores your header/footer preferences, among others (but Firefox should be closed when you update this file, and it will be read when you restart)

Not easy enough, I know.