Example: marketing
Datetime conversion — Converting strings to Stata dates

Datetime conversion — Converting strings to Stata dates

Back to document page

Working with incomplete dates and times The conversion functions do not require that every component of the date and time be specified. Converting 2006-12-01 with mask "YMD" results in 01dec2006 00:00:00. Converting 14:22 with mask "hm" results in 01jan1960 14:22:00. Converting 11-2006 with mask "MY" results in 01nov2006 00:00:00.

  Date, Time, Working, Dates and times

Download Datetime conversion — Converting strings to Stata dates


Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Related search queries