Add trim and truncate functions
Datetime converter
Test truncate