> 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/datetimefromstring.md).

# DateTimeFromString

## Giới Thiệu

Function giúp chúng ta có thể chuyển đổi 1 chuỗi ký tự có giá trị là thời gian thành biến kiểu DateTime.

Việc chuyển đổi sang biến kiểu DateTime giúp chúng ta có thể thao tác tính toán với dữ liệu thời gian.

<figure><img src="/files/3wBrYC0jPWc6lONzbG0I" alt="DateTimeFromString"><figcaption><p>Cách tạo function DateTimeFromString</p></figcaption></figure>
