Laura,
Do you want your field the database to be populated and at the
same time show the current date in the Date Created field? If so
Use
#DateFormat(now(), "DD-MMM-YYYY")#
This also depends on your database, oracle has strict date
validations.
Joe
----- Original Message -----
From: "LH Rothman" <[EMAIL PROTECTED]>
To: "CF Talk" <[EMAIL PROTECTED]>
Sent: Sunday, May 28, 2000 5:06 PM
Subject: Date Created Field
> I'm a very confused newbie. I want to add a new record and have the
> date that record is create automatically appear in a "DateCreated"
> field. I've been looking at the following code and don't know if I'm on
> the right track.
>
> Date Created: #DateFormat(File.TimeCreated,'DD MMM YY')#
>
> Any help is very appreciated. Thank you.
> -Laura
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.