Basics
  Home  |   : Dates and times
 Type   Name   Summary
 
 Function Date Gives the current date
 Variable DateSeparator The character used to separate display date fields
 Function DateTimeToFileDate Convert a TDateTime value to a File date/time format
 Function DateTimeToStr Converts TDateTime date and time values to a string
 Procedure DateTimeToString Rich formatting of a TDateTime variable into a string
 Function DateToStr Converts a TDateTime date value to a string
 Function DayOfTheMonth Gives day of month index for a TDateTime value (ISO 8601)
 Function DayOfTheWeek Gives day of week index for a TDateTime value (ISO 8601)
 Function DayOfTheYear Gives the day of the year for a TDateTime value (ISO 8601)
 Function DayOfWeek Gives day of week index for a TDateTime value
 Function DaysBetween Gives the whole number of days between 2 dates
 Function DaysInAMonth Gives the number of days in a month
 Function DaysInAYear Gives the number of days in a year
 Function DaySpan Gives the fractional number of days between 2 dates
 Procedure DecodeDate Extracts the year, month, day values from a TDateTime var.
 Procedure DecodeDateTime Breaks a TDateTime variable into its date/time parts
 Procedure DecodeTime Break a TDateTime value into individual time values
 Function EncodeDate Build a TDateTime value from year, month and day values
 Function EncodeDateTime Build a TDateTime value from day and time values
 Function EncodeTime Build a TDateTime value from hour, min, sec and msec values
 Function EndOfADay Generate a TDateTime value set to the very end of a day
 Function EndOfAMonth Generate a TDateTime value set to the very end of a month
 Function FileAge Get the last modified date/time of a file without opening it
 Function FileDateToDateTime Converts a file date/time format to a TDateTime value
 Function FileSetDate Set the last modified date and time of a file
 Function FormatDateTime Rich formatting of a TDateTime variable into a string
 Function IncDay Increments a TDateTime variable by + or - number of days
 Function IncMillisecond Increments a TDateTime variable by + or - number of milliseconds
 Function IncMinute Increments a TDateTime variable by + or - number of minutes
 Function IncMonth Increments a TDateTime variable by a number of months
 Function IncSecond Increments a TDateTime variable by + or - number of seconds
 Function IncYear Increments a TDateTime variable by a number of years
 Function IsLeapYear Returns true if a given calendar year is a leap year
 Variable LongDateFormat Long version of the date to string format
 Variable LongDayNames An array of days of the week names, starting 1 = Sunday
 Variable LongMonthNames An array of days of the month names, starting 1 = January
 Variable LongTimeFormat Long version of the time to string format
 Constant MinsPerDay Gives the number of minutes in a day
 Constant MonthDays Gives the number of days in a month
 Function MonthOfTheYear Gives the month of the year for a TDateTime value
 Function Now Gives the current date and time
 Function RecodeDate Change only the date part of a TDateTime variable
 Function RecodeTime Change only the time part of a TDateTime variable
 Procedure ReplaceDate Change only the date part of a TDateTime variable
 Procedure ReplaceTime Change only the time part of a TDateTime variable
 Constant SecsPerDay Gives the number of seconds in a day
 Variable ShortDateFormat Compact version of the date to string format
 Variable ShortDayNames An array of days of the week names, starting 1 = Sunday
 Variable ShortMonthNames An array of days of the month names, starting 1 = Jan
 Variable ShortTimeFormat Short version of the time to string format
 Function StrToDate Converts a date string into a TDateTime value
 Function StrToDateTime Converts a date+time string into a TDateTime value
 Function StrToTime Converts a time string into a TDateTime value
 Type TDateTime Data type holding a date and time value
 Function Time Gives the current time
 Variable TimeAMString Determines AM value in DateTimeToString procedure
 Variable TimePMString Determines PM value in DateTimeToString procedure
 Variable TimeSeparator The character used to separate display time fields
 Function TimeToStr Converts a TDateTime time value to a string
 Function Tomorrow Gives the date tomorrow
 Variable TwoDigitYearCenturyWindow Sets the century threshold for 2 digit year string conversions
 Function Yesterday Gives the date yesterday
 
 
Run Time Library Reference  
By first letter  
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z $
By Functionality  
 
 Data types
Integers, ordinals
Floating point types
String, char types
Pointer types
Other types
 Program structure
Program control
Program data
Looping
 Logic
 Object orientation
 Options
Control options
Data options
 Files
Operations
Data access
File name handling
 Strings and chars
Operations
Converting from
Converting to
Displaying
 Numbers and sets
Calculations
Converting from
Converting to
Trigonometry
Default numbers
Displaying
 Dates and times
Calculations
Converting from
Converting to
Displaying
Date and time values
 
By Unit  
 
System
SysUtils
StrUtils
DateUtils
FileCtrl
ConvUtils
StdConvs
Math
Classes
Dialogs
Types
Variants
 
By Category  
 
  Compiler directives
  Directives
  Keywords
  Types
  Variables   Constants
  Functions
  Procedures
 
 Author links

 
Delphi Programming © Neil Moffatt All rights reserved.  |  Home Page