answersLogoWhite

0

Just use new Date(); to get the current date and then use document.getElementById to insert it on the webpage.

<div id="example"></div>

<script type="text/javascript">

document.getElementById('example') = new Date();

</script>

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Insert date on web page?

Using PHP: &lt;?php echo date("d/m/y"); ?&gt;


How to cite a webpage with no author in a research paper?

To cite a webpage with no author in a research paper, use the title of the webpage in place of the author's name in the citation. Include the title of the webpage in quotation marks, followed by the publication date, the URL, and the date you accessed the webpage.


How can I properly cite a website with no author using APA in-text citations?

To cite a website with no author using APA in-text citations, use the title of the webpage in quotation marks followed by the publication date in parentheses. For example, (&quot;Title of Webpage,&quot; Year).


Which websites have information about the JavaScript date object?

There are a lot of websites which have information about the JavaScript date object. However, it is strongly suggested that one should check out from the website W3Schools.


What is the conception date if your due date is June 20Th?

Copy and paste this link into your address bar. You can calculate your conception date using the conception calculator on this webpage. http://www.baby2see.com/conception_calculator.html#ConceptionCalculator


How do you display the date and time using HTML?

HTML can't get the time for you, so the best way to do it is to use Javascript inside your page, like this: &lt;script language="javascript"&gt; &lt;!-- today = new Date(); document.write("&lt;BR&gt;The time now is: ", today.getHours(),":",today.getMinutes()); document.write("&lt;BR&gt;The date is: ", today.getDate(),"/",today.getMonth()+1,"/",today.getYear()); //--&gt; &lt;/script&gt; Copy and paste that into your web page code. It will show you the date and time.


How to do an in-text citation of a website with no author?

To cite a website with no author in-text, use the title of the webpage in quotation marks or the first few words of the webpage title if it is long, followed by the publication date or &quot;n.d.&quot; if no date is available. For example, (&quot;Title of Webpage,&quot; n.d.) or (&quot;First Few Words of Webpage Title,&quot; publication date).


When did you conceive if your due date is April 8?

Copy and paste this link into your address bar. You can calculate your conception date using the conception calculator on this webpage. http://www.baby2see.com/conception_calculator.html#ConceptionCalculator


When was the information on this website last updated and what was the date accessed?

The information on this website was last updated on insert date. The date accessed was insert date.


Can you provide an in-text citation for a website with no author and no date?

When citing a website with no author and no date, use the title of the webpage in place of the author and include &quot;n.d.&quot; for no date. For example, (&quot;Title of Webpage,&quot; n.d.).


How to cite an APA website with no author or date?

To cite an APA website with no author or date, use the title of the webpage in place of the author and use &quot;n.d.&quot; for the date. For example: (&quot;Title of Webpage,&quot; n.d.).


When is your degree date?

My degree date is insert specific date.