[Extended DateTime] DateTime Conversion
extended-datetime
Service icon
Forge component by Matthias Preuter
Application Type
Traditional Web

I have 2 type of datetime in below format.

20220315230055.0Z

and

132566399591247189

How to convert readable datetime?


Thanks,

Sathish R

Hi Ozan Can Çalı,


I've found a solution through .Net and created an extension for the LDAP DateTime Conversion.Thanks for your support.

 Component Link: https://www.outsystems.com/forge/component-overview/12813/ldap-datetime-conversion

Regards,

Sathish R



Cool! Thanks for the Forge component :) 

Hi Sathish,

I don't think you have the option in this component to convert a value with that format into DateTime.

However, your values, especially the first one looks like it is in ISO 8601 format. So you can look for a converter that understands that format. This Forge component might help: 

https://www.outsystems.com/forge/component-overview/10324/iso8601-helper-extension


I would also suggest that you just write your own converter action, if your values are always in the same format.

So, you would divide your value into substrings with SubStr()  built-in function and build your own DateTime object, i.e. the first 4 chars of your value is the Year and so on.


Hi Ozan Can Çalı,


I've found a solution through .Net and created an extension for the LDAP DateTime Conversion.Thanks for your support.

 Component Link: https://www.outsystems.com/forge/component-overview/12813/ldap-datetime-conversion

Regards,

Sathish R



Cool! Thanks for the Forge component :) 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.