# Re: utime: still with bug?

**URL:** <https://www.ruby-forum.com/t/re-utime-still-with-bug/75451>\
**Category:** Ruby\
**Created:** [March 1, 2006, 9:55pm UTC](https://www.ruby-forum.com/t/re-utime-still-with-bug/75451 "2006-03-01T21:55:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [March 1, 2006, 9:55pm UTC](https://www.ruby-forum.com/t/re-utime-still-with-bug/75451/1 "2006-03-01T21:55:20Z")

</div>

> hour when assigning mtime to a file by using utime.
> 
> Is there a fix or work-around?

I think the bug is actually in Window’s utime() implementation, based on  
what I’ve read from this Perl module’s description:

[http://search.cpan.org/~shay/Win32-UTCFileTime-1.45/lib/Win32/UTCFileTim](http://search.cpan.org/~shay/Win32-UTCFileTime-1.45/lib/Win32/UTCFileTim)  
e.pm

Regards,

Dan
