Using chilkat.SYSTEMTIME in Python

Demonstrates how to create and populate a chilkat. SYSTEMTIME object in Python. import sys import chilkat email = chilkat.CkEmail() sysTime = chilkat.SYSTEMTIME(); # The SYSTEMTIME structure has the following members: # wYear (such as 2011) # wMonth (1 = January, 12 = December) # wDayOfWeek (0 to 6, where 0 = Sunday 1 = Monday, … 6 = Sunday) # […]

Using SYSTEMTIME in Java

Chilkat methods that return date/time information do so using SYSTEMTIME. The reason is that Chilkat’s C++ API uses SYSTEMTIME (a MS Windows struct for holding date/time information) and these are wrapped to produce the Java (JNI) API. Here is an example showing how to access the contents of SYSTEMTIME: CkEmail email = new CkEmail(); SYSTEMTIME dt = new SYSTEMTIME(); email.get_LocalDate(dt); […]