Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
variable day and specific time
Home
ColdFusion
Discussions
variable day and specific time
0
Upvote
variable day and specific time
280844
New Here
,
/t5/coldfusion-discussions/variable-day-and-specific-time/td-p/1043468
Sep 20, 2006
Sep 20, 2006
Copy link to clipboard
Copied
I am attempting to create a query that returns db records based upon date and time the date changes (IsToday) but the time is a constant (4:30 pm).
<CFPARAM name="IsToday" DEFAULT="#CreateODBCDate(Now())#">
Is there a way to append a time constant to Now() so that only records with a datetime that is less than Now() 16:30:00 would be identified?
TOPICS
Advanced techniques
Views
217
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
dempster
Contributor
,
Sep 20, 2006
Sep 20, 2006
dempster
•
Contributor
,
Sep 20, 2006
Sep 20, 2006
CreateDateTime(Year(Now()), Month(Now()), Day(Now()), 16, 30, 0)
Votes
0
Upvote
Translate
Translate
Jump to answer
1 Reply
1
Jump to latest reply
Correct answer by
dempster
Contributor
,
/t5/coldfusion-discussions/variable-day-and-specific-time/m-p/1043469#M94313
Sep 20, 2006
Sep 20, 2006
Copy link to clipboard
Copied
LATEST
CreateDateTime(Year(Now()), Month(Now()), Day(Now()), 16, 30, 0)
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide