packages

Simply Fortran Package Server

Welcome to the Simply Fortran Package Server

The SFPM Logo

Sign up today for easy installation of development libraries and example projects for Simply Fortran!

Notices from the Server

None at this time

Latest Packages

Random Spotlight

M_time

M_time displays Civilian Calendar dates in many formats.

In addition to high-level date formatting, it can manipulate or read many other date representations ...

Julian and Modified Julian Dates

Baseday and Seconds Dates

Unix Epoch Dates

High-level date formatting

Ordinal days of the year

days of the week

ISO-8601 week numbers

month and weekday names

(limited) internationalization

Julian and Unix Epoch Dates are particularly useful for manipulating dates in simple numeric expressions. They are numbers with units of days and seconds respectively from a fixed date that you can easily convert to and from. So you can convert any date to a Julian Date, subtract one and you have the date for the day before, for example.

The M_time Fortran module complements the DATE_AND_TIME procedure ( it is the standard Fortran intrinsic subroutine that returns the current date and time in the Gregorian calendar). That is, the primary way this module represents dates is as an integer array with the same meaning for elements as defined by the DATE_AND_TIME routine.

The extensive formatting options include showing SYSTEM_CLOCK and CPU_USAGE information along with Gregorian date information, allowing for the easy incorporation of timing information into program messages.

In addition to conventional Civilian Calendar dates, the module supports the ISO-8601 standard.

Procedural, Functional, and OOP (Object Oriented Programming) interfaces are provided.

To link this library, add the flag:

-lm_time

to the Linker flags in Simply Fortran's Compiler Flags category of Project Options.

Links