• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Date(yy,mm,dd)

 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know that the date(yy,mm,dd) is deprecated in java 1.2.

But is it still recommended when I use this new Date(yy,mm,dd) in javascript or it is just ok?

Thanks.
 
Sheriff
Posts: 67597
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java != Javascript

The corresponding Date classes have nothing to do with each other.
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you asking a question about Java or about JavaScript? As Bear says, they are not the same thing. If you have a question about JavaScript, you should post your question on the HTML and JavaScript message board.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java is not JavaScript. JavaScript is not Java.

Repeat ten times.

Java is not JavaScript. JavaScript is not Java.
Java is not JavaScript. JavaScript is not Java.
Java is not JavaScript. JavaScript is not Java.
Java is not JavaScript. JavaScript is not Java.
Java is not JavaScript. JavaScript is not Java.
Java is not JavaScript. JavaScript is not Java.
Java is not JavaScript. JavaScript is not Java.
Java is not JavaScript. JavaScript is not Java.
Java is not JavaScript. JavaScript is not Java.
Java is not JavaScript. JavaScript is not Java.

I'm moving this to the HTML and JavaScript forum...
[ May 19, 2004: Message edited by: Dirk Schreckmann ]
 
Nelson Nadal
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks collegues! That were remarkable answers. I should remember that now. Thanks again.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic