# Parsing a Date

It is easy to use the parseDate routine, along with a tJava component to change a date string from one format into another date format, for example:

```
System.out.println(TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",
"1979/10/20 19:00:59"));
```

The string is changed and returned in the date format:

![The result is Sat Oct 20 19:00:59 CET 1979 in the Run view.](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/routines14_f.png)