Yes, that does it, but then you have to include a space between them like
this to get a valid date/time
value:
#dateformat(thedate,'mm-dd-yyyy')#&' '& #timeformat(thedate,'hh:mm:ss')#
Seems odd that there isn't a single function to get a formatted valid full
timestamp.

THanks.
  -----Original Message-----

  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Monday, May 10, 2004 10:58 AM
  To: CF-Newbie
  Subject: RE: mixed date and time format

  use DateFormat() and TimeFormat()
  #dateformat(thedate,'mm-dd-yyyy')# #timeformat(thedate,'hh:mm:ss')#

  -----Original Message-----
  From: Nick Cabell [mailto:[EMAIL PROTECTED]
  Sent: Monday, May 10, 2004 12:56 PM
  To: CF-Newbie
  Subject: mixed date and time format

  My O'Reilly book says that this new format is supported in 6.1:

  time mask included: #DateFormat(TheDate, 'mm/dd/yyyy hh:mm:ss')#

  This returns the hh:mm portion as the date/month actually.

  Nothing mentioned on livedocs. What is the recommended way
  of generating the mixed date/time format.

  nick
    _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to