• 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:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

import java.util.date;

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, my English is very bad, I am Brazilian and have just made the register here!

I am having a lot of difficulties, have just begun to program in JAVA
Good, I have been having problems with the class java.util.date
Do you have some examples or study aids of as it uses that class to order for e-mail?
Thank you
I await answer, it excuses him/it inconvenience
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ronildo -- what problems are you having? Can you tell us what you want to do, and what errors you've been encountering?
Kyle
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this discussion to Java in General(beginner) forum ..
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you mean java.util.Date?
 
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you can tell us what kind of problems you're having, we can probably try to help you some more. For example, if you're getting a compiler error, post it - we can probably tell right away what's happening.
Be sure to check out the API for java.util.Date as there's lots of great information about it there.
As Thomas Paul alluded to in the previous post, Java is case-sensitive. There is no such class as java.util.date, but there is a java.util.Date. Make sure that the case is correct.
I hope that helps,
Corey
[ March 27, 2002: Message edited by: Corey McGlone ]
 
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Some other helpful classes to go along with Date. GregorianCalendar, SimpleDateFormat and Calendar.
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bem-vindo, Ronildo.

Do you have some examples or study aids of how it uses that class to order for e-mail?

Here is an assignment which requires the use of the java.util.Date class.

I do not understand your question about e-mail.
 
Marilyn de Queiroz
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What part of Brazil are you from?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it is better not using the date() object, �cause its overrides the api. You better check Calendar() or GregorianCalendar() for date operations. With GregorianCalendar calendar = new GregorianCalendar(int year, int month, int day) you will initialize a new Date based on the Arguments.
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
da funky chicken :roll:
Please change your name to be compliant with JavaRanch's naming policy.
Your displayed name should be 2 separate names with more than 1 letter each. We really want this to be a professional forum and would prefer that you use your REAL name.
Thanks,
Cindy
 
Grow your own food... or this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic