I can calculate a date countdown pretty easily in sheets with a formula like this:
=MINUS(DATE(2015,5,25),TODAY())
Is there any way to add a date countdown in a Google Document?
If not, how about copying calculated data from a cell in sheets to a Google document?
Best Answer
I couldn't find a way to make a calculated date field, or link to a single Sheets field, so this is my closest solution for you.
Huge reference props to Ryan Heitner's answer here: https://stackoverflow.com/questions/13585272/insert-date-time-in-google-document
I've modified it to create a menu in your Google doc with one item to insert a string containing the # of full days left, with a description following it "X full days left!"
To set it up, in a google doc, go to Tools -> Script editor (if you don't have scripts already, you'll get a div, otherwise you get taken to a new tab asking which script to edit, or create a new one) and create a new blank project.
Put the below script in and save it whatever name you want. Then refresh or load your google doc and you should have the new menu item.
NOTE: This script is actually set for an end date of May 31, 2015 (var dtEnd = new Date(2015, 4, 31);) rather than the date you had. Adjust as needed, but remember the month is -1 of the actual month number since they're 0-based in this javascript-based scripting.
The script editor option:
![enter image description here](https://i.stack.imgur.com/PupKs.jpg)
The new menu item:
![enter image description here](https://i.stack.imgur.com/ZXfFL.jpg)