Adobe Dreamweaver API Reference CS5 User Manual Page 13

  • Download
  • Add to my manuals
  • Print
  • Page
    / 533
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 12
8
DREAMWEAVER API REFERENCE
The file I/O API
Last updated 8/27/2013
Arguments
fileURL
• The fileURL argument, which is expressed as a file:// URL, is the file for which you are checking the last modified time.
Returns
A string that contains a hexadecimal number that represents the number of time units that have elapsed since some
base time. The exact meaning of time units and base time is platform-dependent; in Windows, for example, a time unit
is 100ns, and the base time is January 1st, 1600.
Example
It’s useful to call the function twice and compare the return values because the value that this function returns is
platform-dependent and is not a recognizable date and time. The following code example gets the modification dates
of file1.txt and file2.txt and displays an alert message that indicates which file is newer:
var file1 = "file:///c|/temp/file1.txt";
var file2 = "file:///c|/temp/file2.txt";
var time1 = DWfile.getModificationDate(file1);
var time2 = DWfile.getModificationDate(file2);
if (time1 == time2){
alert("file1 and file2 were saved at the same time");
}else if (time1 < time2){
alert("file1 older that file2");
}else{
alert("file1 is newer than file2");
}
DWfile.getCreationDate()
Availability
Dreamweaver 4.
Description
This function gets the time when the file was created.
Arguments
fileURL
• The fileURL argument, which is expressed as a file:// URL, is the file for which you are checking the creation time.
Returns
A string that contains a hexadecimal number that represents the number of time units that have elapsed since some
base time. The exact meaning of time units and base time is platform-dependent; in Windows, for example, a time unit
is 100ns, and the base time is January 1st, 1600.
Example
You can call this function and the DWfile.getModificationDate() function on a file to compare the modification
date to the creation date:
Page view 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 532 533

Comments to this Manuals

No comments

Ce-niehoff-co A2-334/A2-335 Regulator Installation manuales

Manuales del propietario y guías del usuario para Hardware Ce-niehoff-co A2-334/A2-335 Regulator Installation.
Ofrecemos 1 manuales en pdf Ce-niehoff-co A2-334/A2-335 Regulator Installation para descargar gratis por tipos de documentos: Manual de usuario






Más productos y manuales para Hardware Ce-niehoff-co

Modelos Tipo de documento
A2-317 Regulator Installation Manual de usuario   C.E. Niehoff & Co. A2-317 Regulator Installation User Manual, 1 paginas
A2-325/A2-330/A2-336 Regulator Installation Manual de usuario   C.E. Niehoff & Co. A2-325/A2-330/A2-336 Regulator Installation User Manual, 1 paginas
A2-341/A2-346 Regulator Installation Manual de usuario   C.E. Niehoff & Co. A2-341/A2-346 Regulator Installation User Manual, 1 paginas
A2-337 Regulator Installation Manual de usuario   C.E. Niehoff & Co. A2-337 Regulator Installation User Manual, 1 paginas
A2-344/A2-348/A2-350 Regulator Installation Manual de usuario   C.E. Niehoff & Co. A2-344/A2-348/A2-350 Regulator Installation User Manual, 1 paginas
A2-349 Regulator Installation Manual de usuario   C.E. Niehoff & Co. A2-349 Regulator Installation User Manual, 1 paginas
A6-141 & A6-143 Fan Guard Screw Replacement Manual de usuario   C.E. Niehoff & Co. A6-141 & A6-143 Fan Guard Screw Replacement User Manual, 1 paginas
A7-113/114/115 Stator & Shell Assy Replacement Manual de usuario   C.E. Niehoff & Co. A7-113/114/115 Stator & Shell Assy Replacement User Manual, 1 paginas
A3-201 Adjustable Pulley Installation Manual de usuario   C.E. Niehoff & Co. A3-201 Adjustable Pulley Installation User Manual, 2 paginas
A8-128 Power Management System Installation Manual de usuario   C.E. Niehoff & Co. A8-128 Power Management System Installation User Manual, 1 paginas
A8-219 Low Frequency EMC Filter Assembly Installat Manual de usuario   C.E. Niehoff & Co. A8-219 Low Frequency EMC Filter Assembly Installation User Manual, 1 paginas
A9-305 Med-to-High Frequency EMC Filter Assembly I Manual de usuario   C.E. Niehoff & Co. A9-305 Med-to-High Frequency EMC Filter Assembly Installation User Manual, 2 paginas
A9-307 Alternator Voltage Filter Instructions Manual de usuario   C.E. Niehoff & Co. A9-307 Alternator Voltage Filter Instructions User Manual, 1 paginas
A9-309 Inline Harness Instructions Manual de usuario   C.E. Niehoff & Co. A9-309 Inline Harness Instructions User Manual, 1 paginas
A9-4036 TV/J1939 Harness Installation Manual de usuario   C.E. Niehoff & Co. A9-4036 TV/J1939 Harness Installation User Manual, 1 paginas
A9-462 Energize Interrupt Switch Installation Manual de usuario   C.E. Niehoff & Co. A9-462 Energize Interrupt Switch Installation User Manual, 1 paginas
A9-4039/A9-4050 Temperature-Voltage Sense Harness Manual de usuario   C.E. Niehoff & Co. A9-4039/A9-4050 Temperature-Voltage Sense Harness Instructions User Manual, 1 paginas
A9-4011 Temperature Sense Lead Instructions Manual de usuario   C.E. Niehoff & Co. A9-4011 Temperature Sense Lead Instructions User Manual, 1 paginas
A9-4056 Temperature Sensor Replacement Manual de usuario   C.E. Niehoff & Co. A9-4056 Temperature Sensor Replacement User Manual, 1 paginas
C102/C102-1 Installation Manual de usuario   C.E. Niehoff & Co. C102/C102-1 Installation User Manual, 2 paginas