Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Amcasperforu #1
Saving current date and time in ASP and ACCESS
Hi all,
Im developing a simple web page and Im new to ASP.
I want to save the current date and time in my MS ACCESS table
I have a field in MS ACCESS and the data type is Date/Time is this correct or
do I have to have it in Text???
what should be the code here???
adoRecordset.Fields("date") = Request.Form(Now)
Is this correct??? But Im getting an error which says its expecting a string
.....
thanks for any help.
Amcasperforu Guest
-
Get current date/time? Use them in hidden field?
I've got an app that works as a reception log for clients coming in our agency. The receptionist logs each client's name into our log database. ... -
adding current date into Access using DW form
I've looked all over this forum finding similar solutions but not exactly what I'm looking for. Relatively simple. My Access 2002 database has a... -
#13984 [Com]: date(I) does not correctly identify daylight saving time
ID: 13984 Comment by: patt_jam at hotmail dot com Reported By: bmplummer1 at home dot com Status: Bogus Bug... -
#25981 [Opn->Bgs]: strtotime() returns incorrect date (near daylight saving time change)
ID: 25981 Updated by: sniper@php.net Reported By: hazen at edsbits dot com -Status: Open +Status: ... -
Current Date & Time
I want to display the current date & time on my web site. Not being a code guru could someone please tell me what is the simplest script that works... -
Julian Roberts #2
Re: Saving current date and time in ASP and ACCESS
Try
adoRecordset.Fields("date") = Now
--
Jules
[url]http://www.charon.co.uk/charoncart[/url]
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004
Julian Roberts Guest
-
Anthony Brown #3
Re: Saving current date and time in ASP and ACCESS
Actually the easiest way is in access to make the default value for that
column Now();
Whenever a new record is inserted then the current date and time will
automatically be entered as well.
"Amcasperforu" <webforumsuser@macromedia.com> wrote in message
news:d43aic$e4k$1@forums.macromedia.com...> Hi all,
>
> Im developing a simple web page and Im new to ASP.
>
> I want to save the current date and time in my MS ACCESS table
>
> I have a field in MS ACCESS and the data type is Date/Time is this correct
> or
> do I have to have it in Text???
>
> what should be the code here???
>
> adoRecordset.Fields("date") = Request.Form(Now)
>
>
> Is this correct??? But Im getting an error which says its expecting a
> string
> ....
>
>
> thanks for any help.
>
>
>
>
>
>
>
>
>
Anthony Brown Guest
-
Drew #4
Re: Saving current date and time in ASP and ACCESS
Not to second guess you Julian, but wouldn't it be,
adoRecordset.Fields("date")=Now()
Drew
"Julian Roberts" <newsg@charon.co.uk> wrote in message
news:d43bjl$fmm$1@forums.macromedia.com...> Try
>
> adoRecordset.Fields("date") = Now
>
> --
> Jules
> [url]http://www.charon.co.uk/charoncart[/url]
> Charon Cart 3
> Shopping Cart Extension for Dreamweaver MX/MX 2004
>
>
>
Drew Guest
-
Julian Roberts #5
Re: Saving current date and time in ASP and ACCESS
Either can be used. VB Script isn't very fussy :)
--
Jules
[url]http://www.charon.co.uk/charoncart[/url]
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004
Julian Roberts Guest
-
Amcasperforu #6
Re: Saving current date and time in ASP and ACCESS
Thanks guys
Another one,
Any suggestion from these : ?
I'm planning to use the check box for a particular question, since checkbox is
zero to n choices, what do you suggest to be the best should be done, do I need
to create separate fields for each of the check boxes choices???
Or just a single field with a Text data type and just combine the choices
delimited with a comma (or any character) ???
If that would be the case, how should I do it to combine all the chosen
choices?
Thanks again for the immediate response.
Amcasperforu Guest



Reply With Quote

