2

my agent has the next information as parameters: year, month, day, hour, minute second. Now I want to transform all these parameters to a date by using toDate(year, month, hour, minute, second) But somehow I still get the error that I can only include three things to make a date (see picture below) But I also want to include the time how can I do this?

enter image description here

Aron T.
  • 448
  • 2
  • 7

1 Answers1

2

You can use toDate(int, int, int, int, int, int) (i.e. 6 arguments, not 4) as below: enter image description here

PS: Learn to use code-complete (Ctrl+space on Windows) so you get these helpful popups yourself :)

Benjamin
  • 10,603
  • 3
  • 16
  • 28