return to top of page

Days before Thanksgiving

Linked JavaScript works as expected – Locally but The code that calculates the days to Thanksgiving (Granic Code) Fails from Server, DaySearch.js works linked as well as locally!

The ONLY solution is to include the required JavaScript code (Granic Code) in the .html header section! This file has CalcDays2Thanksgiving.js (Granic Code) in the local file.

<p style="line-height: 150%; font-size:33px; margin: 30px; color:blue; font-weight: bold;">

OUTPUT




<script>days2TG("US");</script>


<script>days2TG("Cdn");</script>




Granic Output

document.write("Only " + daystoTG + " day(s) to " + country + " Thanksgiving in " + tgYear);


Canadian First then US then Cdn then US









Days before Thanksgiving

Current message

<div style="line-height: 150%; font-size:36px; text-align: center; color:red; font-weight: bold;">