Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: print the date and/or time in French format

Java: print the date and/or time in French format

import java.util.*;
import java.text.*;
public class DateFrance
        public static void main(String[] argv)
                Date date = new Date( );
                DateFormat format = DateFormat.getInstance( );
                // default format
               // Create french format
                DateFormat format_fr =
                        DateFormat.getDateInstance(DateFormat.FULL, Locale.FRENCH);
                // Apply the format

Users who found this page were searching for:

  • how to read int from keyboard java
  • java create file and change mode
  • python open file dialog
  • java format french date
  • python directory tree class
  • apply a selfdefied function dataframe python
  • how to delete entries in a dictionary python
  • java csv pattern matcher
  • java dateformat french

No comments yet.

Leave a Comment