# Ctime() in Windows 10

**URL:** <https://discourse.julialang.org/t/ctime-in-windows-10/58755>\
**Category:** General Usage\
**Created:** [April 7, 2021, 2:20pm UTC](https://discourse.julialang.org/t/ctime-in-windows-10/58755 "2021-04-07T14:20:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brad\_Carman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brad_carman/32/17631_2.png) [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Post date:** [April 7, 2021, 2:20pm UTC](https://discourse.julialang.org/t/ctime-in-windows-10/58755/1 "2021-04-07T14:20:40Z")

</div>

It appears that the `ctime()` function does not provide the correct “creation time” of a file in Windows 10 (using Julia v1.6). I was wondering if anyone has successfully done a ccall to kernel32.dll to get the correct creation time using the GetFileTime() function or other strategy?

Note: mtime() does appear to match the file modification date/time.
