NotePad

  • Thread starter Thread starter Robbie
  • Start date Start date
R

Robbie

I need to have the time of created and accessed of my notepad documents show
up with seconds and not just minutes. Anyone know how to do this. It seems
to show in seconds the day after but not on the day I save the document??

Thanks Robbie
 
Robbie said:
I need to have the time of created and accessed of my notepad documents show
up with seconds and not just minutes. Anyone know how to do this. It seems
to show in seconds the day after but not on the day I save the document??

Thanks Robbie

I get seconds displayed with this code:

static void Main(string[] args)
{
FileInfo fi;
fi = new FileInfo(@"c:\test\test2.txt");
Console.WriteLine(fi.CreationTime);
Console.ReadKey(true);
}

What does your code look like?
 
Robbie said:
I need to have the time of created and accessed of my notepad documents
show
up with seconds and not just minutes. Anyone know how to do this. It
seems
to show in seconds the day after but not on the day I save the document??

Thanks Robbie

Unless you're referring to a .NET application that needs to access the
information, you've asked in the wrong discussion group. You need to ask in
a group for your version of Windows. As you've not told us your Windows
version, I can only provide general guidance.

As you appear to be using a web interface, try this:

http://www.microsoft.com/communities/newsgroups/en-us/

In the tree on the left, open English, then open Windows. In the Windows
subcategory, find and open the subcategory for your version of Windows, and
find a
group there for your post.
 
Dear PvdG42

Please perform the following steps when "helping" people...

A.) let go of the mouse
B.) step away from the machin
C.) loosen your belt and allow your pants to drop to the floor
D.) bend over and shove you head up your ass
 
Robbie. you should consider replacing NotePad with NotePad++ in your
development tool set as I am reasonably certain NotePad++ supports date and
time stamping natively and has many features supportive of .NET development.

If you decide to replace check out this blog article
http://tinyurl.com/yhtaeds

Finally, remember some of us are not @ssholes and know what the term
..general means.
 
Back
Top