12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>NLS Date and Time Format (W*32, W*64)When NLSGetLocaleInfo (type, outstr) returns information about the date and time formats of thecurrent locale, the value returned in outstr can be interpreted according to the following tables.Any text returned within a date and time string that is enclosed within single quotes should be leftin the string in its exact form; that is, do not change the text or the location within the string.DayThe day can be displayed in one of four formats using the letter "d". The following table shows thefour variations:ddddddddddDay of the month as digits without leading zeros for single-digit daysDay of the month as digits with leading zeros for single-digit daysDay of the week as a three-letter abbreviation (SABBREVDAYNAME)Day of the week as its full name (SDAYNAME)MonthThe month can be displayed in one of four formats using the letter "M". The uppercase "M"distinguishes months from minutes. The following table shows the four variations:MMMMMMMMMMMonth as digits without leading zeros for single-digit monthsMonth as digits with leading zeros for single-digit monthsMonth as a three-letter abbreviation (SABBREVMONTHNAME)Month as its full name (SMONTHNAME)YearThe year can be displayed in one of three formats using the letter "y". The following table showsthe three variations:yyyyyyyYear represented by only the last digitYear represented by only the last two digitsYear represented by the full 4 digitsPeriod/EraThe period/era string is displayed in a single format using the letters "gg".ggPeriod/Era string1-10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!