nerdexam
IBM

LOT-410 · Question #5

Lynn would like to obtain the current date and time from the server hosting the database where his Formula code is executing. Which line of code could he use to do that?

The correct answer is A. myTime := @Now([SERVERTIME]). See the full explanation below for the reasoning.

Question

Lynn would like to obtain the current date and time from the server hosting the database where his Formula code is executing. Which line of code could he use to do that?

Options

  • AmyTime := @Now([SERVERTIME])
  • BmyTime := @ServerTime([NOW])
  • CmyTime := @Time([SERVER]:[NOW])
  • DmyTime := @Server([TIME]:[NOW])

How the community answered

(44 responses)
  • A
    77% (34)
  • B
    11% (5)
  • C
    5% (2)
  • D
    7% (3)

Community Discussion

No community discussion yet for this question.

Full LOT-410 Practice