473,396 Members | 1,671 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.

How to find out the Build date & time at runtime?

Hi,

Does anyone know how to find out the build date & time at
runtime?

Greatly appreciated.

Alice
Nov 16 '05 #1
4 1997
> Does anyone know how to find out the build date & time at
runtime?


Assembly.GetExecutingAssembly().GetName().Version
Gets you the version. date&time are imho not included but you could also get
the file modification date of the executable using FileAttributes.

--
cody

Freeware Tools, Games and Humour
http://www.deutronium.de.vu || http://www.deutronium.tk
Nov 16 '05 #2
Alice,

Please refer to the post "Build number" submitted by "Aaron" in this
newsgroup news://ew**************@TK2MSFTNGP10.phx.gbl
for help on how to calculate these. Use the code provided my codymanix
to get the information you need to process.

HTH,

//Andreas

"codymanix" <no****************@gmx.net> skrev i meddelandet
news:%2****************@TK2MSFTNGP09.phx.gbl...
Does anyone know how to find out the build date & time at
runtime?
Assembly.GetExecutingAssembly().GetName().Version
Gets you the version. date&time are imho not included but you could also

get the file modification date of the executable using FileAttributes.

--
cody

Freeware Tools, Games and Humour
http://www.deutronium.de.vu || http://www.deutronium.tk

Nov 16 '05 #3
Thanks all very much

Alice
-----Original Message-----
Alice,

Please refer to the post "Build number" submitted by "Aaron" in thisnewsgroup news://ew**************@TK2MSFTNGP10.phx.gbl
for help on how to calculate these. Use the code provided my codymanixto get the information you need to process.

HTH,

//Andreas

"codymanix" <no****************@gmx.net> skrev i meddelandetnews:%2****************@TK2MSFTNGP09.phx.gbl...
> Does anyone know how to find out the build date & time at > runtime?
Assembly.GetExecutingAssembly().GetName().Version
Gets you the version. date&time are imho not included but you could alsoget
the file modification date of the executable using

FileAttributes.
--
cody

Freeware Tools, Games and Humour
http://www.deutronium.de.vu || http://www.deutronium.tk

.

Nov 16 '05 #4
Thanks all very much

Alice
-----Original Message-----
Alice,

Please refer to the post "Build number" submitted by "Aaron" in thisnewsgroup news://ew**************@TK2MSFTNGP10.phx.gbl
for help on how to calculate these. Use the code provided my codymanixto get the information you need to process.

HTH,

//Andreas

"codymanix" <no****************@gmx.net> skrev i meddelandetnews:%2****************@TK2MSFTNGP09.phx.gbl...
> Does anyone know how to find out the build date & time at > runtime?
Assembly.GetExecutingAssembly().GetName().Version
Gets you the version. date&time are imho not included but you could alsoget
the file modification date of the executable using

FileAttributes.
--
cody

Freeware Tools, Games and Humour
http://www.deutronium.de.vu || http://www.deutronium.tk

.

Nov 16 '05 #5

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

Similar topics

4
by: Gerry | last post by:
As I'm not a PHP-prgrammer at all, I just need Help with this: I have had a guestbook-page in Europe and will now have to move it to a US based-server. This makes the time-function showing time...
7
by: baylor | last post by:
Is there a way for my EXE to tell when it was built? The idea is to write a copyright date that shows "Copyright 2005-" and then the date the EXE was last built -baylor
3
by: Alice | last post by:
Hi, Does anyone know how to find out the build date & time at runtime? Greatly appreciated. Alice
5
by: cameron | last post by:
Is it possible to get the build date, (not the version), of a dll? -Cam
11
by: Kenneth P | last post by:
Hi, This link works but when you try to download IE WebControls you'll get to page that doesn't exist. http://msdn.microsoft.com/workshop/webcontrols/overview/overview.asp Anyone who could...
67
by: PC Datasheet | last post by:
Transaction data is given with date ranges: Beginning End 4/1/06 4/4/06 4/7/06 4/11/06 4/14/06 4/17/06 4/18/06 4/21/06 426/06 ...
3
by: divya | last post by:
Hi, I have a table tblbwday with 2 fields Name and Birthday.I have written this script for displaying evryday names of the people on that day. <% set objConn...
0
by: anupamak | last post by:
hello, I created a win32 project(precompiled headers, console application). This was created to create a service( for which i used SERVICE_TABLE_ENTRY, SERVICE_STATUS, SERVICE_STATUS_HANDLE,...
1
by: adeebraza | last post by:
Hi, Every Body Following is code for Showing Actual Date & Time on the form and also record Date & Time of an event. See the following and use Call Modified when you want to record an event in...
3
by: aRTx | last post by:
I have try a couple of time but does not work for me My files everytime are sortet by NAME. I want to Sort my files by Date-desc. Can anyone help me to do it? The Script <? /* ORIGJINALI
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.