Click here to Skip to main content
15,878,871 members
Articles / Programming Languages / Objective C

Date-Time Conversion Utility

Rate me:
Please Sign up or sign in to vote.
4.57/5 (14 votes)
21 Sep 20012 min read 232.3K   3.1K   40  
A simple app that converts to and between time_t, DATE, and regular date string expressions
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by DTConverter.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_DTCONVERTER_DIALOG          102
#define IDD_DTCONVERTER                 102
#define IDS_ERR_INVALID_ENTRY           102
#define IDD_OPTIONS                     103
#define IDR_MAINFRAME                   128
#define IDC_EDIT_TIME_T                 1000
#define IDC_EDIT_OLE_DATE               1001
#define IDC_EDIT_STRING                 1002
#define IDC_BUTTON_CONVERT_TIME_T       1003
#define IDC_BUTTON_CONVERT_OLE_DATE     1004
#define IDC_BUTTON_CONVERT_STRING       1005
#define IDC_BUTTON_CONVERT_STRINGSPAN   1006
#define IDC_BUTTON_CONVERT_PARTSSPAN    1006
#define IDC_EDIT_SPAN                   1007
#define IDC_EDIT_D                      1008
#define IDC_EDIT_H                      1009
#define IDC_EDIT_M                      1010
#define IDC_EDIT_S                      1011
#define IDC_BUTTON_CONVERT_SPAN         1012
#define IDC_EDIT_TOTALSEC               1014
#define IDC_BUTTON_CONVERT_TOTALSEC     1015
#define IDC_RD_NOAUTOPASTE              1017
#define IDC_RD_SPECAUTOPASTE            1018
#define IDC_RD_FULLAUTOPASTE            1019
#define IDC_CHK_AUTOCONVERT             1020
#define IDC_RD_NOAUTOCONVERT            1027
#define IDC_RD_TIMET                    1028
#define IDC_RD_DATE                     1029
#define IDC_RD_STRING                   1030
#define IDC_RD_SPAN                     1031
#define IDC_RD_TOTALSEC                 1032
#define IDC_BTN_OPTIONS                 1034

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        129
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1035
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Web Developer
United States United States
I've done extensive work with C++, MFC, COM, and ATL on the Windows side. On the Web side, I've worked with VB, ASP, JavaScript, and COM+. I've also been involved with server-side Java, which includes JSP, Servlets, and EJB, and more recently with ASP.NET/C#.

Comments and Discussions