Ask a Question related to Dreamweaver AppDev, Design and Development.
-
RobGT #1
Users local date/time
How do I grab the users local date and time for later manipulation in my
application?
Brains fuzzy and I can't seem to find anything after a quick search online.
Cheers,
Rob
[url]http://robgt.com/[/url]
RobGT Guest
-
Time::Local V 1.10 and users thereof, eg Archive::Zip V 1.14
Hi Folks This is a note about the behaviour of Time::Local (under Windows) andproblems with modules such as Archive::Zip, which use Time::Local. ... -
local date/time.
Does any one know, having retrieved a utc date/time from a field, whether one may use ESQL (infx) functions to convert it to local time (that is... -
Access to UTC time with servers running in local time
There is an undocumented way of getting the server's utc time in seconds just like the time() system call on the server would return it: select... -
Access to UTC time with severs running in local time
I am running server under Linux. Can I get the UTC time in servers with SQL sentences ? The 'current' and 'today' options always return local... -
domain users/local users
I have joined an XP machine to a 2000 domain. I want to share the printer to one of the domain users. When I go to share it, I only get the users... -
RobGT #2
Re: Users local date/time
OK,
I can do it client side in javascript - is this the only method available to
me (guess so, but you never know :)
Cheers,
Rob
[url]http://robgt.com/[/url]
Tutorials: [url]http://robgt.com/tutorials/index.asp[/url]
Extensions: [url]http://robgt.com/products/index.asp[/url]
RobGT Guest
-
Joe Makowiec #3
Re: Users local date/time
On 26 Apr 2005 in macromedia.dreamweaver.appdev, RobGT wrote:
I just had a trawl through php.net and didn't see anything. You may be> I can do it client side in javascript - is this the only method
> available to me (guess so, but you never know :)
able to do something with Java?
--
Joe Makowiec
[url]http://makowiec.net/[/url]
Email: [url]http://makowiec.net/email.php[/url]
Joe Makowiec Guest
-
Lars67 #4
Re: Users local date/time
I saw this in another answer,,, try this
Month(Date) returns the Month
Day(Date) returns the Day
Year(Date) returns the Year
Copy the code below into a new ASP page,
<%
Response.Write("Hello, today's date is, " & Date & "<br><br>")
Response.Write("The Month is " & Month(Date) & "<br>")
Response.Write("The Day is " & Day(Date) & "<br>")
Response.Write("The Year is " & Year(Date) & "<br>")
%>
Lars67 Guest
-
RobGT #5
Re: Users local date/time
Thanks Lars, but I need to grab the _users_ date and time, not my server
date and time, which is what that code does (I'm familiar with this already
:).
I appreciate the help though.
It looks like I must go the client side javascript route to resolve this.
Cheers,
Rob
[url]http://robgt.com/[/url]
Tutorials: [url]http://robgt.com/tutorials/index.asp[/url]
Extensions: [url]http://robgt.com/products/index.asp[/url]
RobGT Guest



Reply With Quote

