Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javascript display year copyright

<script>document.write(new Date().getFullYear())</script>
Comment

js current year copyright

<p class="d-caption copyright">
                    Africa's Pocket 
  <script>document.write(new Date().getFullYear())</script> 
  © All Rights Reserved
</p>
Comment

get year javascript copyright

<script type="text/JavaScript"> var theDate=new Date() document.write(theDate.getFullYear()) </script>
Comment

PREVIOUS NEXT
Code Example
Javascript :: how to add a variable in js 
Javascript :: how to sum variables to an array in javascript 
Javascript :: Content security policy (csp) javascript 
Javascript :: js convert object to array 
Javascript :: express get 
Javascript :: vanilla js send get request 
Javascript :: javascript check if array is empty or null or undefined 
Javascript :: saving react code messing up in vsc 
Javascript :: handling event in jsx 
Javascript :: js two value from array after reduce 
Javascript :: react-native-restart 
Javascript :: regex not js 
Javascript :: javascript swap images on mouseover 
Javascript :: javascript Spread Operator with Object 
Javascript :: mongodb text search exact match 
Javascript :: how to make a alert popup message in javascript 
Javascript :: transform date to relative date js 
Javascript :: xmlhttprequest object 
Javascript :: regex match any character 
Javascript :: make 2div in row react js 
Javascript :: why did you render 
Javascript :: useeffect hook 
Javascript :: jquery wrap div around multiple elements 
Javascript :: how to send js array from ajax 
Javascript :: superagent set cookie 
Javascript :: accordion reatjs 
Javascript :: encode password javascript 
Javascript :: js reduce 
Javascript :: learn nodejs 
Javascript :: how to get the uppert triangular matrix out of a matrix matlab 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =