EconPapers    
Economics at your fingertips  
 

FODSTR: Stata modules to handle fractional day calculations

William Gould

Statistical Software Components from Boston College Department of Economics

Abstract: fodstr newvar oldvar extracts the fraction-of-a-day stored in Stata's date format and formats it in readable (hh:mm:ss) form. fod2str newvar oldvar creates the full formatted dd mmmm yyyy hh:mm:ss form. mkfrac newvar oldvar performs the inverse trasformation; given a string variable containing a date, it returns the fraction of a day involved (i.e. 1 Jan 1998 06:00:00 becomes 0.5000).

Language: Stata
Date: Written 1998-04-15

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/f/fodstr.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/fod2str.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mkfrac.ado program code (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics
Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Contact information at EDIRC.
Series data maintained by Christopher F Baum ().

 
Page updated 2008-10-12
Handle: RePEc:boc:bocode:s340602