Combine a date and time into datetime variable

Hi Experts,

do you know how to combine a date field and a time filed into one datetime variable in report ?

thanks

Best Answer

  • vaprogvaprog Member Posts: 1,140
    Answer ✓
    In the Developer and IT Pro Help go to

    Technical Reference
       C/SIDE Reference Guide
           C/AL Functions
               Dates and Times
                   DateTime Data Type (or)
                   DateTime Functions

    It's almost as easy to find using the System Menu (F5) in the C/AL Editor
    CREATEDATETIME Function (DateTime)

    Creates a DateTime object from a date and a time.
    DateTime := CREATEDATETIME(Date, Time)
    

Answers

Sign In or Register to comment.