# JuliaDB parsing unix epoch field

**URL:** <https://discourse.julialang.org/t/juliadb-parsing-unix-epoch-field/33805>\
**Category:** General Usage\
**Tags:** juliadb\
**Created:** [January 26, 2020, 10:07am UTC](https://discourse.julialang.org/t/juliadb-parsing-unix-epoch-field/33805 "2020-01-26T10:07:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![toms](https://avatars.discourse-cdn.com/v4/letter/t/53a042/32.png) [@toms](https://discourse.julialang.org/u/toms)\
**Post date:** [January 26, 2020, 10:07am UTC](https://discourse.julialang.org/t/juliadb-parsing-unix-epoch-field/33805/1 "2020-01-26T10:07:36Z")

</div>

Hello Julia community,

I’m trying to `loadndsparse` a csv file with a unix epoch field and turn it into a Julia `DateTime` .

What would be the correct way to do this in Julia?  
I’ve tried using the `colparsers` option but am running into difficulties how to implement the parser correctly. Basically what I want is simply map the float value of a csv column to a  
`x -> Date.unix2datetime(x)`  
but it appears to be not as simple in Julia.

Unfortunately the docs are also very _sparse_.

I’d appreciate if anybody could point me in the right direction on how to implement this correctly.

Cheers,  
Tom
