473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Last edited date

hi, is there a way in which one can write the last edited date in a .aspx
file onto a pae without physically writing e.g.
<%response.write(request.datetime...)%>

thanks a bundle
--
mensuur
May 29 '06 #1
2 1237
Yes, this code should do it:
' Imports System.IO

Dim fileData As FileInfo = My.Computer.FileSystem.GetFileInfo(sFileName)

lblLastUpdated.Text = fileData.LastWriteTime.ToLongDateString
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"mensuur" <me*****@discussions.microsoft.com> wrote in message news:86**********************************@microsof t.com...
hi, is there a way in which one can write the last edited date in a ..aspx
file onto a pae without physically writing e.g.
<%response.write(request.datetime...)%>

thanks a bundle
--
mensuur

May 29 '06 #2
sorry, can you give that to me in c# code?
--
mensuur
"Steve C. Orr [MVP, MCSD]" wrote:
Yes, this code should do it:
' Imports System.IO

Dim fileData As FileInfo = My.Computer.FileSystem.GetFileInfo(sFileName)

lblLastUpdated.Text = fileData.LastWriteTime.ToLongDateString
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"mensuur" <me*****@discussions.microsoft.com> wrote in message news:86**********************************@microsof t.com...
hi, is there a way in which one can write the last edited date in a ..aspx
file onto a pae without physically writing e.g.
<%response.write(request.datetime...)%>

thanks a bundle
--
mensuur

May 30 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Amanda | last post by:
Hi, hope you can help me with this one. If I want to get the date a page has been last modified, I can do something like .. document.write("<b>Last updated: "+document.lastModified+"</b>"); ...
11
by: Dennis Marks | last post by:
There seems to be a major program with the automatic display of the last modified date. Using the javascript "document.lastModified" sometimes returns the correct date and sometimes 1 Jan 1970...
3
by: AndyBell | last post by:
Hi all! I have an Access 2000 database for the Habiat for Humanity where I work. This is the second database I have written and it gets a bit more complex each time... I have learned much and...
9
by: griemer | last post by:
Hi every one, Is there a way to calculate the timestamp of 00:00:00 last Sunday. For me, this is the begin of the current week.. Or, how old is this week, in seconds Any ideas? Regards,
9
by: ice | last post by:
Hello, I have a couple of tables. The client tables and the contacted tables. I am not sure how to start on this, what I need is a way to query all my clients then show any client that the...
1
by: Chris | last post by:
I have a query which I use to edit a table and a column that I type the date that I edited the perticular record in the table. Is it possable for the date to change automatically when I edit the...
4
by: SoulSeeker | last post by:
Hello. How I can start my M$ access form with last edited record? What I must put in "on load" field? Tnx. for advice.
1
by: Hermes | last post by:
I know SQL Server has a bunch of system tables that have interesting little tidbits of info in them, is there any way to tell who last edited a stored procedure or view, and when they did it? ...
7
by: USBZ0r | last post by:
Hi there guys! Im struggling to find a way to select all rows from a MySQL table that were edited within the last 2 minuites. When the user edits their profile, it time stamps it. So all i need to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.