How to convert LDAP Account Expires value into Date format with TIS ?

One Star

How to convert LDAP Account Expires value into Date format with TIS ?

hello,
I 've put Account Expires value from my AD into a varchar field in a sql server 2008 database (ODS)
I don't know how to convert this value to a date format?
Can someone help me ?
thanks in advance,
Christophe
-------------------
TIS 5.1.2
SQL SERVER 2008
Seventeen Stars

Re: How to convert LDAP Account Expires value into Date format with TIS ?

I guess you get this value as String?
In this case use TalendDate.parseDate(pattern, date) routine.
Two Stars

Re: How to convert LDAP Account Expires value into Date format with TIS ?

How can we do this ?

Thanks,

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download