CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 71: UiADPv1: UiPath Automation Developer Professional v1.0

A developer extracts a date from an email. The date will always be in the same format and always from the past. Some examples of this format are: “3 Mar 2023”, “20 Nov 2021”. The name of the variable where the date is saved is DateString. What expression should the developer use to check if the extracted date is withi…

Nội dung câu hỏi

A developer extracts a date from an email. The date will always be in the same format and always from the past. Some examples of this format are: “3 Mar 2023”, “20 Nov 2021”. The name of the variable where the date is saved is DateString. What expression should the developer use to check if the extracted date is within the last 7 days?

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.

  1. A. (DateTime.Now - DateTime. ParseExact(DateString, “dd MMM yyyy”, Cultureinfo.InvariantCulture)).Days <7
  2. B. (DateTime.Now - DateTime.ParseExact(DateString, “dd MMM yyyy”, Cultureinfo. InvariantCulture)). AddDays(-7) > 0
  3. C. (DateTime.Now - DateTime.ParseExact(DateString, “d MMM yyyy”, Cultureinfo. InvariantCulture)).Days < 7 — đáp án hiện tại
  4. D. DateTime.Parse(DateTime.Now - DateString).Days <7

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.

Câu hỏi liền kề