Hi there. I'm new to Progress and am having a little bit of an issue that the documentation isn't helping me with.
I have two DateTimes "dtStart" and "dtRateStartTime". The former contains both date and time and the latter contains just a time and some arbitrary date information (The SQL MinDate).
What I want to do is to get the time component from both variables so I can perform comparisons and arithmetic on them without having to worry about the actual dates.
I'm essentially trying to do the following, only in Progress.
I have two DateTimes "dtStart" and "dtRateStartTime". The former contains both date and time and the latter contains just a time and some arbitrary date information (The SQL MinDate).
What I want to do is to get the time component from both variables so I can perform comparisons and arithmetic on them without having to worry about the actual dates.
I'm essentially trying to do the following, only in Progress.
Code:
if (dtStart.Hour >= dtRateStartTime.Hour)
{
...
}