Question: I'm working with a simple ASMX web service that gives the users the ability to add comments. For each comment that gets added I add a timestamp to the row. The issue I'm running into is that If I add two comments 1 second apart they will both have the same timestamp. Instead of using `DateTime.Now` in my code I use a static class so I can easily write unit tests.

Here is my `Time` class:

```
public class Time : IDisposable
{
    public static DateTime Now;

    static Time()
    {
        ResetToDefault();
    }

    public static IDisposable Freeze(DateTime dateTimeToFreeze)
    {
        Now = dateTimeToFreeze;

        return new Time();
    }

    void IDisposable.Dispose()
    {
        ResetToDefault();
    }

    private static void ResetToDefault()
    {
        Now = DateTime.Now;
    }
}

```

I'm guessing this class is the culprit because if I replace all instances of `Time.Now` with `DateTime.Now` everything works as expected.

What is causing my `Time` class to freeze and not always refresh when requesting the current time?

Answer: 
If you right click on the file, you should be able to see the permissions and attributes of the file.
Right click one the file--> Details . You can see the computer name where it was created and the date.