Perl Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

Perl Examples

Quick Start
Perl Unicode
Perl Byte Array
Perl Certs
Perl Email
Perl Encryption
Perl FTP
HTML-to-XML
Perl HTTP
Perl IMAP
Perl MHT
Perl MIME
Perl RSA
Perl S/MIME
Perl Signatures
Perl Socket
Perl Spider
Perl Tar
Perl Upload
Perl XML
Perl XMP
Perl Zip

More Examples...
String
Email Object
POP3
SMTP
RSS
Atom
Self-Extractor

Unreleased...
Service
PPMD
Deflate
Bzip2
LZW
Bz2
DH Key Exchange
DSA
Icon

 

 

 

 

 

 

 

chilkat.SYSTEMTIME in Perl

Documents the SYSTEMTIME structure in Perl.

Chilkat Module for Perl 5.8.*

Chilkat Module for Perl 5.10.*

use chilkat;


#  Instantiate a new email object.
#  It will automatically contain a Date header field
#  with the current date/time.
$email = new chilkat::CkEmail();

#  
# Create a chilkat.SYSTEMTIME object.
$sysTime = new chilkat::SYSTEMTIME();

# Fill it with the LocalDate
$email->get_LocalDate($sysTime);

# Print the fields
# The year. The valid values for this member are 1601 through 30827.
print $sysTime->{wYear} . "\r\n";
# Month: 1=Jan, 2=Feb, 3=Mar, 4=Apr, etc.
print $sysTime->{wMonth} . "\r\n";
# Day-of-week: 0=Sunday, 1=Monday, ... 6=Saturday
print $sysTime->{wDayOfWeek} . "\r\n";
# Day: 1 .. 31
print $sysTime->{wDay} . "\r\n";
# Hour: 0 .. 23
print $sysTime->{wHour} . "\r\n";
# Minute: 0 .. 59
print $sysTime->{wMinute} . "\r\n";
# Second: 0 .. 59
print $sysTime->{wSecond} . "\r\n";
# Millisec: 0 .. 999
print $sysTime->{wMilliseconds} . "\r\n";

$x = 1;
print $x . "\r\n";
 

Need a specific example? Send a request to support@chilkatsoft.com

© 2000-2007 Chilkat Software, Inc. All Rights Reserved.