Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send date/time from fortran to C

Status
Not open for further replies.

CJason

Programmer
Oct 13, 2004
223
US
I am wanting to send a fortran date (what form should this be...real*8, integer*8, etc...???) into a C function, then that C function return if the input date is in Daylight Savings time or not. Any ideas on how I could pass this info back and forth from Fortran to/from C?

Thanks in advance!!
 
Need to know several things first

1) Which C compiler are you using (and what is the platform)
2) Which Fortran compiler are you using
3) Which version of Fortran (77, 90, 95, 2003) are you using?

Fortran 2003 has a C interface.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top