Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9190791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:32:30+00:00 2026-06-17T20:32:30+00:00

I am converting a ColdFusion application to .NET, and I have a question about

  • 0

I am converting a ColdFusion application to .NET, and I have a question about date subtraction.

In the following if statement, qTripID.etd is the utc date and time of a flight departure, the comment says that that it is testing whether the flight has already departed.

<cfif qTripID.etd - DateConvert("local2utc",Now()) LT 0.166666666666667>

What type of information does the expression above return?

minutes? days? hours?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:32:31+00:00Added an answer on June 17, 2026 at 8:32 pm

    The entire expression:

    qTripID.etd - DateConvert("local2utc",Now()) LT 0.166666666666667

    returns a boolean value: ‘LT’ is ColdFusion’s ‘less than’ operator.

    I think you’re asking what units is the 0.166666666667? In which case it is days – the 0.1666… value being 4 hours.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am converting a ColdFusion application to C# (I'm a CF n00b). I have
We're converting from ColdFusion to ASP.NET 4.0 and we just don't know which route
I'm converting an entire site from Coldfusion to PHP. So, expect many question like
I am currently working on converting a ColdFusion website, using Fusebox framework, to PHP.
Converting to ODB.NET from System.Data.OracleClient and need help converting my connection string. Here is
I'm working on converting a human readable time to a datetime object . In
I am converting absolute file-system path to relative path using following code. public static
I've inherited a C# window's application that I'm not real crazy about. I've got
Why does INDEX creation statement have UNIQUE argument? As I understand, the non-clustered index
Converting dates/times into ticks using the PowerShell Get-Date applet is simple. However, how do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.