Time Information in Linux

Posted on 2004-11-05
Last Modified: 2010-04-17

I need to query some date/time informations in linux but i dont know how to do this.

I need to know:

o DateSeperator (
o TimeSeperator (-, . , :, ..)
o DateOrder (MDY, DMY, YMD...)
o start/stop month of daylight saving time

any idea how i can get this informations??


Question by:toscen
    LVL 22

    Accepted Solution

    see man nl_langinfo

    and LC_TIME environment setting
    LVL 22

    Expert Comment

    by:earth man2
    utility  zic is responsible for setting up time zone database.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Suggested Solutions

    Title # Comments Views Activity
    Add mobile access to browser application 3 108
    EvenOdd challenge 10 67
    Using YubiKey with REST API application 2 51
    python question 5 36
    Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
    Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now