Planet Shake
You are watching the site as a guest to see everything that gets offered register for free or log in....or take a look around on the few things that you can see as a guest.....
Planet Shake
You are watching the site as a guest to see everything that gets offered register for free or log in....or take a look around on the few things that you can see as a guest.....
Planet Shake
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Planet Shake

Discover Your World Here !
 
HomeHome  PortalPortal  GalleryGallery  Latest imagesLatest images  RegisterRegister  Log inLog in  

 

 Current Day Code

Go down 
2 posters
AuthorMessage
jimzstone
Moderator
Moderator
jimzstone


Posts : 67
Points : 5605
Reputation : 2
Join date : 2009-02-19
Age : 32
Location : Laguna

Planet Shake
huo: 4

Current Day Code Empty
PostSubject: Current Day Code   Current Day Code Icon_minitimeFri Feb 20, 2009 12:17 am

This code makes the day, month, and year display on your webpage. Were ever you decide to paste it.

Code:
<div id="Last Update">
<p>Last Update Was On<script Language="Javascript">
<!-- hide from old browsers
  function GetDay(intDay){
    var DayArray = new Array("Sunday", "Monday", "Tuesday", "Wednesday",
                        "Thursday", "Friday", "Saturday")
    return DayArray[intDay]
    }

  function GetMonth(intMonth){
    var MonthArray = new Array("January", "February", "March",
                              "April", "May", "June",
                              "July", "August", "September",
                              "October", "November", "December")
    return MonthArray[intMonth]       
    }
  function getDateStrWithDOW(){
    var today = new Date()
    var year = today.getYear()
    if(year<1000) year+=1900
    var todayStr = GetDay(today.getDay()) + ", "
    todayStr += GetMonth(today.getMonth()) + " " + today.getDate()
    todayStr += ", " + year
    return todayStr
    }
//-->
</script>
<script Language="Javascript">
<!-- hide from old browsers
    document.write(getDateStrWithDOW())
//-->
</script>
</p>
  </div>
Back to top Go down
http://www.friendster.com/12252675
darknezz
Private First Class
Private First Class



Posts : 12
Points : 5579
Reputation : 0
Join date : 2009-02-18

Current Day Code Empty
PostSubject: Re: Current Day Code   Current Day Code Icon_minitimeFri Feb 20, 2009 12:19 am

waw nice ahahah tnx moderator
Back to top Go down
jimzstone
Moderator
Moderator
jimzstone


Posts : 67
Points : 5605
Reputation : 2
Join date : 2009-02-19
Age : 32
Location : Laguna

Planet Shake
huo: 4

Current Day Code Empty
PostSubject: Re: Current Day Code   Current Day Code Icon_minitimeFri Feb 20, 2009 12:20 am

np Very Happy by the way just call me Jim Very Happy
Back to top Go down
http://www.friendster.com/12252675
Sponsored content





Current Day Code Empty
PostSubject: Re: Current Day Code   Current Day Code Icon_minitime

Back to top Go down
 
Current Day Code
Back to top 
Page 1 of 1
 Similar topics
-
» Welcome Code
» Convert a Tell-A-Friend Script completely into BB Code

Permissions in this forum:You cannot reply to topics in this forum
Planet Shake :: Tutorials :: Scripting-
Jump to:  
Forum create on Forumotion | ©phpBB | Free forum support | Report an abuse | Forumotion.com