Is there a way to copy from a cell which contains the formula =TODAY() and paste only the value (that is, date) of that formula into another cell? None of the "Paste Special" options and none of the combinations of options that I have tried works; the "Number" option, both by itself and with the "Format" option, does paste the date number, but not in date format.
As a workaround, is there an inverse function of DATEVALUE("text") ? That is, a function which converts a date number into a date?
[SOLVED] How to copy-paste the result of =TODAY() as a date?
-
- Posts: 3
- Joined: Wed Jul 03, 2019 8:49 pm
[SOLVED] How to copy-paste the result of =TODAY() as a date?
Last edited by robleyd on Thu Jul 04, 2019 1:32 am, edited 3 times in total.
Reason: Add green tick
Reason: Add green tick
OpenOffice 4.1.7 on macOS High Sierra 10.13.6
Re: How to copy-paste the results of =TODAY() as a date?
The LibreOffice Calc has "insert fixed date" feature.
Or you can cut (Ctrl-X), and then Paste special/Unformatted text (Shift-Ctrl-V) the date value created by the Today() function.
Or you can cut (Ctrl-X), and then Paste special/Unformatted text (Shift-Ctrl-V) the date value created by the Today() function.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: How to copy-paste the results of =TODAY() as a date?
The Paste Special with the number option checked will paste a static number that can be formatted using the Format Cells (Ctrl+1) options, so that you see the date in the format that you want.
If you have the cells already formatted as you want the display, leave the format option unchecked, that way the format used will be the format already applied to the cell.
There is no reverse for the DATEVALUE function in Calc, unless you want to write a macro that performs that job.
If you have the cells already formatted as you want the display, leave the format option unchecked, that way the format used will be the format already applied to the cell.
There is no reverse for the DATEVALUE function in Calc, unless you want to write a macro that performs that job.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
-
- Posts: 3
- Joined: Wed Jul 03, 2019 8:49 pm
Re: How to copy-paste the results of =TODAY() as a date?
Thanks. Pre-formatting the target cell, or changing the format after pasting the value (the date number), does indeed work.
It seems to me a bug that the date format cannot be special-pasted along with the value, but oh well :_>
It seems to me a bug that the date format cannot be special-pasted along with the value, but oh well :_>
OpenOffice 4.1.7 on macOS High Sierra 10.13.6
Re: How to copy-paste the results of =TODAY() as a date?
Paste special "Date+Time" and "Formatting" works with LibreOffice 6.1
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
- MrProgrammer
- Moderator
- Posts: 4905
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: [SOLVED] How to copy-paste the result of =TODAY() as a d
Read section 3. Dates in cells in Ten concepts that every Calc user should know. A date number IS a date. You need to make your goal clear.raschumacher wrote:As a workaround, is there an inverse function of DATEVALUE("text") ? That is, a function which converts a date number into a date?
If you want the cell's value to be the numeric date but you want the cell to display the year/month/day instead of the number, read section 2. Controlling how data is displayed in the tutorial. Use the Date category and select the format. Use the General category to format the cell.
If you want the cell's value to be text instead of a number, use the TEXT function.
If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
-
- Posts: 3
- Joined: Wed Jul 03, 2019 8:49 pm
Re: [SOLVED] How to copy-paste the result of =TODAY() as a d
The exact thing required is: Copy -> Paste Special -> select "Date & Time" & "Formats". Then the date number is pasted with the source format. My bad. Thanks all for the help.
OpenOffice 4.1.7 on macOS High Sierra 10.13.6