Initializing From Field Value to today's date

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

Guest

Hi,

I am using FrontPage 2002, on the form I have the field name date, and I
want to set its value to today's date, and similarly I have a field name Time
on the form, and want to set its value to current time.

Is it possible? Any help will be greatly appreciated :)
 
Search for client side (JavaScript) date / time scripts

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi,
|
| I am using FrontPage 2002, on the form I have the field name date, and I
| want to set its value to today's date, and similarly I have a field name Time
| on the form, and want to set its value to current time.
|
| Is it possible? Any help will be greatly appreciated :)
 
Hi Stefan,

First of all thank you so much for your reply. I am using ASP, so when I
search for its date/time scripts, i get DateTime.Now, but whenI put that
under Initial Value, it is not evaluating the epxression, its showing the
formula....Any suggestions???
 
If you are using ASP, then set the initial field value to

<%=Date()%>

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
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.
==============================================

shikha said:
Hi Stefan,

First of all thank you so much for your reply. I am using ASP, so when I
search for its date/time scripts, i get DateTime.Now, but whenI put that
under Initial Value, it is not evaluating the epxression, its showing the
formula....Any suggestions???

Stefan B Rusynko said:
Search for client side (JavaScript) date / time scripts

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi,
|
| I am using FrontPage 2002, on the form I have the field name date, and I
| want to set its value to today's date, and similarly I have a field name Time
| on the form, and want to set its value to current time.
|
| Is it possible? Any help will be greatly appreciated :)
 
Hi Thomas,

I inputted this <%=Date()%> formula under form field properties Intial
Value, and when I preview, I still see the formula. Is that how it will be,
until i post my site to a server? This is my project with Frontpage, so
still in the learning stage.

Thank you for your help!!

Thomas A. Rowe said:
If you are using ASP, then set the initial field value to

<%=Date()%>

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
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.
==============================================

shikha said:
Hi Stefan,

First of all thank you so much for your reply. I am using ASP, so when I
search for its date/time scripts, i get DateTime.Now, but whenI put that
under Initial Value, it is not evaluating the epxression, its showing the
formula....Any suggestions???

Stefan B Rusynko said:
Search for client side (JavaScript) date / time scripts

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi,
|
| I am using FrontPage 2002, on the form I have the field name date, and I
| want to set its value to today's date, and similarly I have a field name Time
| on the form, and want to set its value to current time.
|
| Is it possible? Any help will be greatly appreciated :)
 
Yes, you must view the page from a server, and the page must have a .asp extension.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
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.
==============================================

shikha said:
Hi Thomas,

I inputted this <%=Date()%> formula under form field properties Intial
Value, and when I preview, I still see the formula. Is that how it will be,
until i post my site to a server? This is my project with Frontpage, so
still in the learning stage.

Thank you for your help!!

Thomas A. Rowe said:
If you are using ASP, then set the initial field value to

<%=Date()%>

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
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.
==============================================

shikha said:
Hi Stefan,

First of all thank you so much for your reply. I am using ASP, so when I
search for its date/time scripts, i get DateTime.Now, but whenI put that
under Initial Value, it is not evaluating the epxression, its showing the
formula....Any suggestions???

:

Search for client side (JavaScript) date / time scripts

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi,
|
| I am using FrontPage 2002, on the form I have the field name date, and I
| want to set its value to today's date, and similarly I have a field name Time
| on the form, and want to set its value to current time.
|
| Is it possible? Any help will be greatly appreciated :)
 
Thank you so much Thomas, I really really appreciate your help :) :)

Thomas A. Rowe said:
Yes, you must view the page from a server, and the page must have a .asp extension.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
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.
==============================================

shikha said:
Hi Thomas,

I inputted this <%=Date()%> formula under form field properties Intial
Value, and when I preview, I still see the formula. Is that how it will be,
until i post my site to a server? This is my project with Frontpage, so
still in the learning stage.

Thank you for your help!!

Thomas A. Rowe said:
If you are using ASP, then set the initial field value to

<%=Date()%>

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
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.
==============================================

Hi Stefan,

First of all thank you so much for your reply. I am using ASP, so when I
search for its date/time scripts, i get DateTime.Now, but whenI put that
under Initial Value, it is not evaluating the epxression, its showing the
formula....Any suggestions???

:

Search for client side (JavaScript) date / time scripts

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi,
|
| I am using FrontPage 2002, on the form I have the field name date, and I
| want to set its value to today's date, and similarly I have a field name Time
| on the form, and want to set its value to current time.
|
| Is it possible? Any help will be greatly appreciated :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top