Forum Discussion
Andre Radtke
Jan 26, 2022Brass Contributor
Convert a text string to a correct date time format
Hello folks, I have maybe a simple question for the experienced people around here 🙂 . I have a runbook in azure that is getting the field "CreatedDateTime" of a unified group (Teams Team). The ...
- Jan 31, 2022sorry, I left the " | Get-Member " to show you that the type returned is a Date type. remove that to integrate into your own script
Andre Radtke
Jan 26, 2022Brass Contributor
For your information, I am getting the CreatedDateTime format from the MS Graph as you can read here: https://docs.microsoft.com/de-de/graph/api/group-list?view=graph-rest-1.0&tabs=http
I am wondering why Microsoft is formatting this field in this wierd format that I can not use for further actions..... seriously microsoft?!? 🤷:male_sign:
I am wondering why Microsoft is formatting this field in this wierd format that I can not use for further actions..... seriously microsoft?!? 🤷:male_sign: