NotePad

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
 
F

Family Tree Mike

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?
 
P

PvdG42

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.
 
H

Hillbilly

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
 
H

Hillbilly

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top