> For the complete documentation index, see [llms.txt](https://docs.taiamk.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.taiamk.pro/function-ho-tro/datetime/getcurrentdatetime.md).

# GetCurrentDateTime

## Giới Thiệu

Function có tác dụng lấy thời gian hiện tại của máy tính và trả ra 1 biến có kiểu DateTime.

<figure><img src="/files/AUlTdiRl2fGDG9unoMUu" alt="" width="563"><figcaption><p>Màn hình lựa chọn function GetCurrentDateTime</p></figcaption></figure>

## Kết Quả

Sau khi chạy lệnh thành công sẽ có kết quả trả về biến kiểu DateTime như hình bên dưới

<figure><img src="/files/9p20T0yqZdbZsgBM3xYV" alt=""><figcaption><p>Ví dụ về giá trị của kiểu DateTime</p></figcaption></figure>
