Ask a Question related to Dreamweaver AppDev, Design and Development.
-
snuif12 #1
actual date on paeg
Hello,
How a get an actual date on my page? I cannot find it!
thanks
Jan
snuif12 Guest
-
Check the actual FPS and use it as a variable
Hello, Just saw your post about getting the actual FPS in a variable, was wondering if you got the solution. Thanks a lot. -
checking actual framerate
Hi, I made a site which uses horizontal scrolling navigation (check: http://www.esthervenrooy.com) Not surprisingly, the scrolling is far from... -
Parsing the client URL rather than the actual URL
Greetings, I've been reading up on Search Engine optimisation, and I've come across a little gem which makes me realise my pages are probably all... -
Actual Tempo Problems
Hi all, Hoping someone can help me. In one section of my movie the actual tempo switches to 6 fps (can see this in the control panel) even though... -
actual publishing
I have Publisher 2000. I used the tutorials, which were very helpful. I even did the Nav Bar Wizard. I guess I don't understand how this is... -
snuif12 #2
actual date on paeg
Hello,
How a get an actual date on my page? I cannot find it!
thanks
Jan
snuif12 Guest
-
CarlGrint #3
Re: actual date on paeg
Dreamweaver can insert the date of the last update, but not the current date,
you need either a client or server side script for that.
If you are using ASP/VB you can use
<% =day(now) %>/<% =month(now) %>/<% =year(now) %>
If you are using statis HTML you can use something like
<!--start of script that displays date -->
<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>
<!--end of script that gathers date -->
<!--start of script that displays date -->
<script language="JavaScript">
<!-- hide from old browsers
document.write(getDateStrWithDOW())
//-->
</script>
<!--end of script that displays date -->
Originally posted by: snuif12
Hello,
How a get an actual date on my page? I cannot find it!
thanks
Jan
CarlGrint Guest



Reply With Quote

