aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Short Date Format Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Short Date Format " Watch "Short Date Format " New topic
Author

Short Date Format

Arya Devan
Greenhorn

Joined: Feb 07, 2006
Posts: 28
hi ,

i have two queries.

* Is there any direct function call in javascript that can get the short date format of my system ? Or is there any work-around ? Its necessary that i get the short date format somehow.

* How to read my windows registry keys using javascript ?

--- if there is any java method to any of the above, please do tell.

Thanks in Advance.


Arya.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
1)Date object: http://www.w3schools.com/jsref/jsref_obj_date.asp

2)No, talk abou a hackers dream to read the local file system.

Eric
Arya Devan
Greenhorn

Joined: Feb 07, 2006
Posts: 28
Thanks for the reply.

But, what i am looking for is something different.

I am actually looking for a javasript or a java method that can give me the 'System Short Date Format'. (which is in the regional settings)
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Short Date Format
 
Similar Threads
computing and formatting a date
Default Date format issue in ojdbc6
Request Object
bean:write - format key
DateFormat.Default issue