Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam UiPath-ADPv1 All Questions
Exam UiPath-ADPv1 All Questions

View all questions & answers for the UiPath-ADPv1 exam

UiPath Certified Professional - Developer Track UiPath-ADPv1 Question # 14 Topic 2 Discussion

UiPath-ADPv1 Exam Topic 2 Question 14 Discussion:
Question #: 14
Topic #: 2

A developer has defined a variable named "CurrentDate" of type Date Time. Which of the following expressions can be used to show what hour was 12 hours prior to the date

from the variable?


A.

DateTime.AddHours(CurrentDate, -12).Hour


B.

CurrentDate.AddHours(-12).Hour


C.

CurrentDate.SubtractHours(12).Hour


D.

DateTime.SubtractHours(CurrentDate, 12).Hour


Get Premium UiPath-ADPv1 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.