Results 1 to 3 of 3
  1. #1
    Musaddict's Avatar
    Musaddict is offline Member
    Join Date
    Aug 2011
    Posts
    6
    Rep Power
    0

    Default Storing date in .data file

    All I would like to do is save the current date formatted mm;dd;yyyy into a dates.data

    I dont have the code to get the date, nor the code to store it. I have the file and dir set up, i just need to get the date, and store it. How do i do this?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default

    java.text.SimpleDateFormat

    db

    edit You didn't bother to return to the last thread you started. Can we expect better behavior this time round?

  3. #3
    Musaddict's Avatar
    Musaddict is offline Member
    Join Date
    Aug 2011
    Posts
    6
    Rep Power
    0

    Default

    Quote Originally Posted by DarrylBurke View Post
    edit You didn't bother to return to the last thread you started. Can we expect better behavior this time round?
    crap, lol. sorry. I totally forgot about the other post. It was resolved like 20 minutes after i posted it and i didn't think to follow up.

    Thanks for the help!

Similar Threads

  1. Storing Date and Sorting Lists
    By Haegr in forum New To Java
    Replies: 2
    Last Post: 04-22-2010, 09:44 PM
  2. storing date from servlet to sql server
    By KumbhaniMehul in forum Java Servlet
    Replies: 1
    Last Post: 04-11-2010, 01:01 PM
  3. Storing data to file :s
    By idi in forum New To Java
    Replies: 3
    Last Post: 02-13-2010, 08:54 PM
  4. Storing the data in a file
    By vasavi.singh in forum New To Java
    Replies: 4
    Last Post: 02-20-2009, 04:01 PM
  5. Storing data from text file in ArrayList
    By tjhodge in forum New To Java
    Replies: 1
    Last Post: 02-12-2009, 01:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •