Date + Time picker

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know of a way to insert a date AND time picker into Frontpage?
I've found many date pickers but none do the time part.

TIA

Mart
 
Martin,
What do you mean by date and time picker .

Should this read *ticker* ?
If so , this works

JavaScript
======
function getTheDate()
{ var now = new Date()
return now.toLocaleDateString()}
function getTheTime()
{ var now = new Date()
return now.toLocaleTimeString()}
function DateTime()
{ var cdate = '<b class="red">'
+ getTheDate() + " "
+ getTheTime() + "</b>"
if (document.all)
document.all.clock.innerHTML = cdate
else
if (document.getElementById)
document.getElementById("clock").innerHTML = cdate
else
document.write(cdate) }
function gettime()
{ setInterval("DateTime()",1000) }

HTML
====
<body onload="gettime()">
Current Date: <span id="clock"></span>

This prints a time ticker after Current Date:
However, if you mean date and time *picker*, that's another story :-))
--
Cheers,
Trevor L., WIP (Web Interested Person)
Website: http://tandcl.homemail.com.au
Martin Stabrey said:
Does anyone know of a way to insert a date AND time picker into Frontpage?
I've found many date pickers but none do the time part.

TIA

Mart


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
Trevor

I literally mean the ability to select (or pick :-) ) a date and time - for
example, being able to select 23 February 2005, 10.40pm.

Cheers
Mart
 
no, "Picker" as in the little window that pops up with a calendar, you click
a date, that date is copied into a text box in a form.
 
Never seen one that does the time.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Sorry about that guys. After a night's sleep I thought that was what you
meant

I fact while pondering this (before going to sleep), I thought you could
take a standard date picker (Andrew has one of these) and incorporate into
it a drop down box, which has 24/48/96 entries (depending on what times you
want - hours, half-hours or quarter-hours). When you click on an entry in
this table that value is copied to where you want.

I could have a bit of fun trying to do this, but if you
understand what I
mean, Martin, I may be duplicating your effort.
 
See http://www.javascriptkit.com/script/script2/tengcalendar.shtml

--




| Never seen one that does the time.
|
| --
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| WebMaster Resources(tm)
|
| FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| ==============================================
| If you feel your current issue is a results of installing
| a Service Pack or security update, please contact
| Microsoft Product Support Services:
| http://support.microsoft.com
| If the problem can be shown to have been caused by a
| security update, then there is usually no charge for the call.
| ==============================================
|
| | > Does anyone know of a way to insert a date AND time picker into Frontpage?
| > I've found many date pickers but none do the time part.
| >
| > TIA
| >
| > Mart
|
|
 
Back
Top