Câu 52: UiADPv1: UiPath Automation Developer Professional v1.0
A developer has defined a variable named “CurrentDate” of type DateTime. Which of the following expressions can be used to show what hour was 12 hours prior to the date from the variable?
Nội dung câu hỏi
A developer has defined a variable named “CurrentDate” of type DateTime. Which of the following expressions can be used to show what hour was 12 hours prior to the date from the variable?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. DateTime.SubtractHours(CurrentDate, 12).Hour
- B. CurrentDate.AddHours(–12).Hour — đáp án hiện tại
- C. CurrentDate SubtractHours(12).Hour
- D. DateTime.AddHours(CurrentDate, –12).Hour
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.