Hi @Jiacheng Zhang ,
Maybe the format of showing the date is an issue within the portal. I don't think this will be an issue when calculating with this date. But when you want to show the datetime without the Z, you can use the format_datetime operator, for example:
print dt=now()
| extend pacific = datetime_utc_to_local(dt,'US/Pacific')
| extend pacific_formatted = format_datetime(pacific,'yyyy-MM-dd HH:mm:ss.FFFF')
More info:
https://video2.skills-academy.com/en-us/azure/data-explorer/kusto/query/format-datetimefunction
Kind regards,
Wilko
Please do not forget to "Accept the answer” wherever the information provided helps you, this can be beneficial to other community members. If you have extra questions about this answer, please click "Comment".