Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 16th, 2005, 09:18 PM
Authorized User
 
Join Date: Sep 2003
Posts: 81
Thanks: 0
Thanked 0 Times in 0 Posts
Default Modifying Date returned

I am using this piece of code to show a date and time :-

<%
Dim objFSO
Dim objFile
Dim dateModified
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.GetFile(Server.MapPath("sradmin1.asp"))
dateModified = objFile.DateLastModified
%>
<div>
<br />
Last Modified &nbsp;<%= FormatDateTime(dateModified, 1) %>; at <%= FormatDateTime(dateModified, 3) %><br />
</div>
<%
Set objFile = Nothing
Set objFSO = Nothing
%>

Trouble is my Hosting Company server is 14 hours behind me and I would like it to reflect my Date and Time when giving me a result on a webpage

Can anyone help please

Topshed ...






Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple recordsets returned BCullenward Classic ASP Basics 7 July 28th, 2006 04:16 PM
size of the dataset returned aldwinenriquez ASP.NET 1.0 and 1.1 Professional 0 July 6th, 2005 04:43 AM
OCIEnvCreate returned -1 amagoosla ADO.NET 3 June 9th, 2005 06:27 AM
Returned Error chuck BOOK: Beginning VB.NET Databases 6 February 13th, 2005 04:07 PM
Records not returned with where clause Trojan_uk SQL Server 2000 2 December 4th, 2003 10:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.