Skip to content

Instantly share code, notes, and snippets.

View CodersArts's full-sized avatar
💭
Computer Science Assignment Portal.We offers programming assignment.

CodersArts CodersArts

💭
Computer Science Assignment Portal.We offers programming assignment.
View GitHub Profile
@CodersArts
CodersArts / jsdateparse.html
Created October 18, 2019 09:48
Date.parse() returns the number of milliseconds between the date and January 1, 1970
#Codersarts
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript Date.parse()</h2>
<p>Date.parse() returns the number of milliseconds between the date and January 1, 1970:</p>
@CodersArts
CodersArts / jslongdate.html
Created October 18, 2019 09:43
Long date has long months name
#Codersarts
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript new Date()</h2>
<p id="demo"></p>
#Codersarts
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript new Date()</h2>
<p id="demo"></p>
@CodersArts
CodersArts / jsisodate.html
Created October 18, 2019 08:55
ISO 8601 is the international standard for the representation of dates and times
#Codersarts
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript ISO Dates</h2>
<p id="demo"></p>
@CodersArts
CodersArts / jsdatetostringmethod.html
Created October 18, 2019 08:25
This method converts the date toString
#Codersarts
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript toDateString()</h2>
<p>The toDateString() method converts a date to a date string:</p>
@CodersArts
CodersArts / jsnewdatemilli.html
Created October 18, 2019 08:15
Using new Date(milliseconds), creates a new date object as January 1, 1970
#Codersarts
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript new Date()</h2>
<p id="demo"></p>
@CodersArts
CodersArts / jspreviouscenturydate.html
Created October 18, 2019 07:34
Two digit years will be interpreted as 19xx
#Codersarts
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript new Date()</h2>
<p>Two digit years will be interpreted as 19xx:</p>
@CodersArts
CodersArts / jsnewdate.html
Created October 18, 2019 07:31
Date objects have a format to display the date
#Codersarts
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript new Date()</h2>
<p>Using new Date(7 numbers), creates a new date object with the specified date and time:</p>
@CodersArts
CodersArts / jsdate.html
Created October 18, 2019 06:17
JavaScript date object allows us to work with dates
#Codersarts
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript new Date()</h2>
<p id="demo"></p>
#Codersarts
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript Array.reduceRight()</h2>
<p>This example finds the sum of all numbers in an array:</p>