Automatic Mouse and Keyboard Guide
Trang ChủSản PhẩmTải AMKBlogLiên Hệ
  • Tổng Quan
    • 👋Giới Thiệu Khóa Học
    • 💡Khóa Học Trên Youtube
  • Hướng dẫn cài đặt
    • ⬇️Dùng Thử
    • 💳Mua Hàng
    • 💻Cài Đặt
    • 🔑Kích Hoạt Bản Quyền
    • ☎️Liên Hệ Hỗ Trợ
  • Hệ Thống TAIAMK.PRO
    • 🔓Đăng Nhập
    • 🔮Tool Hỗ Trợ
    • ✡️Nâng Cấp Gói VIP++
    • ⚡Nâng Cấp Gói Đa Luồng
  • Phát Triển Phần Mềm
    • ℹ️Giới Thiệu
    • 💼Hướng Dẫn Đặt Cọc
  • Thao Tác Cơ Bản
    • 🖱️Điều Khiển Chuột
      • 👈Left Click
      • 👉Right Click
      • ✌️DoubleClick
      • 🤏Mouse Position
      • 👩‍🏫Auto Không Chiếm Chuột
  • Function Hỗ Trợ
    • ⏰DateTime
      • GetCurrentDateTime
      • DateTimeFromString
      • DayOfWeek
      • Tomorrow
      • Yesterday
      • DateTimeToTimeStamp
      • TimeStampToDateTime
      • WaitTime
      • GetFileLastModifyTime
      • GetFileCreationTime
      • SetFileLastModifyTime
      • SetFileCreationTime
      • 📅DateTime Object
        • DateTime.GetYear
        • DateTime.GetMonth
        • DateTime.GetDay
        • DateTime.GetHour
        • DateTime.GetMinute
        • DateTime.GetSecond
      • ⏳TimeSpan Object
        • Timespan.GetDays
        • Timespan.GetHours
        • Timespan.GetMinutes
        • Timespan.GetSeconds
    • 🛡️Registry
    • 🔢Toán Học
    • 🖥️Thông Tin Phần Cứng
    • 😴Lệnh Nghỉ
  • GUI
    • 🧱Thành Phần
      • ▶️Button
        • Button Style
      • 🔠Edit
        • Edit Style
        • Edit_SetSel
      • 🔨Static Text
      • 🍇Group Box
      • ✅Check Box
      • 🔘Radio Button
      • ⏏️Combo Box
        • ComboBox_AddString
        • ComboBox_DeleteString
        • ComboBox_GetEdit
        • ComboBox_InsertString
        • ComboBox_ResetContent
        • ComboBox_SelectString
        • ComboBox_SetItemDefaultHeight
        • ComboBox_ShowDropDown
      • 📃List View
        • ListView_DeleteAllItems
        • ListView_EnsureVisible
        • ListView_GetCheck
        • ListView_GetHeaderCtrl
        • ListView_GetItemCount
        • ListView_GetItemRect
        • ListView_GetItemText
        • ListView_GetNextSelectedItem
        • ListView_GetSubItemRect
        • ListView_GetTopIndex
        • ListView_InsertColumn
          • Format
            • LVCFMT_RIGHT
            • LVCFMT_CENTER
            • LVCFMT_FIXED_WIDTH
            • LVCFMT_FIXED_RATIO
            • LVCFMT_LINE_BREAK
            • LVCFMT_FILL
            • LVCFMT_WRAP
            • LVCFMT_NO_TITLE
            • LVCFMT_SPLITBUTTON
        • ListView_InsertItem
        • ListView_IsSelected
        • ListView_SelectItem
        • ListView_SetCheck
        • ListView_SetExtendedStyle
        • ListView_SetItemText
        • ListView_SetItemHitTest
        • ListView_UnselectItem
      • 🌲Tree View
      • 📶Progress Bar
      • 🗳️List Box
      • 🖼️Picture Box
      • 🧙‍♀️Animate Control
    • 🪟Window
      • 💻Window Style
      • 💻Window Style EX
      • 🇮🇩Window Functions
        • CreateWindow
        • GetWindowText
        • SetWindowText
        • GetClientRect
        • GetDlgCtrlID
        • GetParent
        • ShowWindow
        • RunModalWindow
      • 🏴󠁧󠁢󠁳󠁣󠁴󠁿Command Handler
      • ⛈️Message Handler
  • 📱Giả Lập Android
    • 💠Memu
      • Quản Lý Giả Lập
  • Database
    • SqLite
Powered by GitBook
On this page
  • Giới Thiệu
  • Kết Quả

Was this helpful?

  1. Function Hỗ Trợ
  2. DateTime

DayOfWeek

Trả về thứ tự ngày trong tuần, bắt đầu từ Chủ Nhật.

PreviousDateTimeFromStringNextTomorrow

Last updated 2 years ago

Was this helpful?

Giới Thiệu

Function giúp chúng ta có thể lấy được thứ tự của ngày trong tuần bắt đầu như sau.

Thứ
Ngày Trong Tuần

Chủ Nhật

0

Thứ Hai

1

Thứ Ba

2

Thứ Tư

3

Thứ Năm

4

Thứ Sáu

5

Thứ Bảy

6

Function nhận vào giá trị kiểu DateTime

Kết Quả

Với dữ liệu thời điểm viết bài là chủ nhật thì function trả về kết quả như hình bên dưới.

⏰
Lấy thứ tự ngày trong tuần
Kết quả chạy function lấy về hôm nay là 0
DayOfWeek
DayOfWeek