GARANTIR DESCONTO

Fórum Como fazer cálculos de horas #214368

15/02/2004

0

OLA A TODOS PRIMEIRAMENTE SOU NOVO NO FORUM, ESTOU DESENVOLVENDO UM SISTEMA NA PARTE DE PRODUCAO INDUSTRIAL,
E GOSTARIA DE SABER DOS AMIGOS DESENVOLVEDORES COMO PEGAR A HORA QUE JA ESTA CADASTRADA E SOMAR, EX. UMA PECA TEM VARIOS PROCESSOS E CADA TEMPO DE PROCESSO EU QUERO SOMAR PARA TER UMA PREVISAO DO TEMPO DE PRODUCAO EU VOU TER ESTA PECA A DISPOSICAO PARA MONTAGE. ANTE MAO AGRADECO A TODOS.

[color=red:d9cbc85e0d][b:d9cbc85e0d]Editado(Beppe): Bem-vindo ao fórum. Leia as regras de conduta.[/b:d9cbc85e0d][/color:d9cbc85e0d]


Jean_felipe

Jean_felipe

Responder

Posts

16/02/2004

Aroldo Zanela

Colega,

Qual a sua versão de Delphi? Olha o Help de funções para tratamento de data e hota:
[b:b70f2db2ca]
CheckSqlTimeStamp procedure[/b:b70f2db2ca]

Checks whether a TSQLTimeStamp value represents a valid date and time.

[b:b70f2db2ca]CompareDate function[/b:b70f2db2ca]

Indicates the relationship between the date portions of two TDateTime values.

[b:b70f2db2ca]CompareDateTime function[/b:b70f2db2ca]

Indicates the relationship between two TDateTime values.

[b:b70f2db2ca]CompareTime function[/b:b70f2db2ca]
Indicates the relationship between the time portions of two TDateTime values.

[b:b70f2db2ca]CurrentYear function[/b:b70f2db2ca]

Creates a new directory. // [color=red:b70f2db2ca]Isso aqui o cara tava trêbado.[/color:b70f2db2ca]

[b:b70f2db2ca]Date function[/b:b70f2db2ca]

Returns the current date.

[b:b70f2db2ca]DateDelta constant[/b:b70f2db2ca]

Specifies the difference between TDateTime and TTimeStamp values.

[b:b70f2db2ca]DateOf function[/b:b70f2db2ca]

Strips the time portion from a TDateTime value.

[b:b70f2db2ca]DateTimeToFileDate function[/b:b70f2db2ca]

Converts a TDateTime object to an OS timestamp.

[b:b70f2db2ca]DateTimeToSQLTimeStamp function[/b:b70f2db2ca]

Converts a TDateTime value to a TSQLTimeStamp value.

[b:b70f2db2ca]DateTimeToStr function[/b:b70f2db2ca]

Converts a TDateTime value to a string.

[b:b70f2db2ca]DateTimeToString procedure[/b:b70f2db2ca]

Converts a TDateTime value to a string using a specified Format.

[b:b70f2db2ca]DateTimeToSystemTime procedure[/b:b70f2db2ca]

Converts a TDateTime value into the Win32 API´s TSystemTime type.

[b:b70f2db2ca]DateTimeToTimeStamp function[/b:b70f2db2ca]

Converts a TDateTime value into the corresponding TTimeStamp value.

[b:b70f2db2ca]DateToStr function[/b:b70f2db2ca]

Converts a TDateTime value to a string.

[b:b70f2db2ca]Day of week constants[/b:b70f2db2ca]

Provide symbolic constants for ISO 8601-compliant day of the week values.

[b:b70f2db2ca]DayOf function[/b:b70f2db2ca]

Returns the day of the month represented by a TDateTime value.

[b:b70f2db2ca]DayOfTheMonth function[/b:b70f2db2ca]

Returns the day of the month represented by a TDateTime value.

[b:b70f2db2ca]DayOfTheWeek function[/b:b70f2db2ca]

Returns the day of the week represented by a TDateTime value.

[b:b70f2db2ca]DayOfTheYear function[/b:b70f2db2ca]

Returns the number of days between a specified TDateTime value and December 31 of the previous year.

[b:b70f2db2ca]DayOfWeek function[/b:b70f2db2ca]

Returns the day of the week for a specified date.

[b:b70f2db2ca]DaysBetween function[/b:b70f2db2ca]

Returns the number of whole days between two specified TDateTime values.

[b:b70f2db2ca]DaysInAMonth function[/b:b70f2db2ca]

Returns the number of days in a specified month of a specified year.

[b:b70f2db2ca]DaysInAYear function[/b:b70f2db2ca]

Returns the number of days in a specified year.

[b:b70f2db2ca]DaysInMonth function[/b:b70f2db2ca]

Returns the number of days in the month of a specified TDateTime value.

[b:b70f2db2ca]DaysInYear function[/b:b70f2db2ca]

Returns the number of days in the year of a specified TDateTime value.

[b:b70f2db2ca]DaySpan function[/b:b70f2db2ca]

Returns the number of days (including fractional days) between two specified TDateTime values.

[b:b70f2db2ca]DecodeDate procedure[/b:b70f2db2ca]

Returns Year, Month, and Day values for a TDateTime value.

[b:b70f2db2ca]DecodeDateDay procedure[/b:b70f2db2ca]

Returns the year and day of the year for a specified TDateTime value.

[b:b70f2db2ca]DecodeDateFully function[/b:b70f2db2ca]

Returns Year, Month, and Day, and Day-of-Week values for a TDateTime value.

[b:b70f2db2ca]DecodeDateMonthWeek procedure[/b:b70f2db2ca]

Returns the year, month, week of the month, and day of the week for a specified TDateTime value.

[b:b70f2db2ca]DecodeDateTime procedure[/b:b70f2db2ca]

Returns Year, Month, Day, Hour, Minute, Second, and MilliSecond values for a TDateTime value.

[b:b70f2db2ca]DecodeDateWeek procedure[/b:b70f2db2ca]

Returns the year, week of the year, and day of the week for a specified TDateTime value.

[b:b70f2db2ca]DecodeDayOfWeekInMonth procedure[/b:b70f2db2ca]

For a given TDateTime value, returns the year, month, day of the week, and the count of that day of the week in the month.

[b:b70f2db2ca]DecodeTime procedure[/b:b70f2db2ca]

Breaks a TDateTime value into hours, minutes, seconds, and milliseconds.

[b:b70f2db2ca]EncodeDate function; TryEncodeDate function[/b:b70f2db2ca]

Returns a TDateTime value that represents a specified Year, Month, and Day.

[b:b70f2db2ca]EncodeDateDay function[/b:b70f2db2ca]

Returns a TDateTime value that represents a specified day of the year for a specified year.

[b:b70f2db2ca]EncodeDateMonthWeek function[/b:b70f2db2ca]

Returns a TDateTime objectvalue that represents a specified day of a specified week in a specified month and year.

[b:b70f2db2ca]EncodeDateTime function[/b:b70f2db2ca]

Returns a TDateTime value that represents a specified year, month, day, hour, minute, second, and millisecond.

[b:b70f2db2ca]EncodeDateWeek function[/b:b70f2db2ca]

Returns a TDateTime value that represents a specified day of a specified week in a specified year.

[b:b70f2db2ca]EncodeDayOfWeekInMonth function[/b:b70f2db2ca]

Returns a TDateTime value that represents a specified occurrence of a day of the week within a specified month and year.

[b:b70f2db2ca]EncodeTime function;TryEncodeTime function[/b:b70f2db2ca]

Returns a TDateTime value for a specified Hour, Min, Sec, and MSec.

[b:b70f2db2ca]EndOfADay function[/b:b70f2db2ca]

Returns a TDateTime value that represents the last millisecond of a specified day.

[b:b70f2db2ca]EndOfAMonth function[/b:b70f2db2ca]

Returns a TDateTime value that represents the last millisecond of the last day of a specified month.

[b:b70f2db2ca]EndOfAWeek function[/b:b70f2db2ca]

Returns a TDateTime value that represents the last millisecond of a specified day of a specified week.

[b:b70f2db2ca]EndOfAYear function[/b:b70f2db2ca]

Returns a TDateTime value that represents the last millisecond of a specified year.

[b:b70f2db2ca]EndOfTheDay function[/b:b70f2db2ca]

Returns a TDateTime value that represents the last millisecond of the day identified by a specified TDateTime value.

[b:b70f2db2ca]EndOfTheMonth function[/b:b70f2db2ca]

Returns a TDateTime value that represents the last millisecond of the last day of the month identified by a specified TDateTime value.

[b:b70f2db2ca]EndOfTheWeek function[/b:b70f2db2ca]

Returns a TDateTime value that represents the last millisecond of the last day of the week identified by a specified TDateTime value.

[b:b70f2db2ca]EndOfTheYear function[/b:b70f2db2ca]

Returns a TDateTime value that represents the last millisecond of the last day of the year identified by a specified TDateTime value.

[b:b70f2db2ca]FormatDateTime function[/b:b70f2db2ca]

Formats a TDateTime value.

[b:b70f2db2ca]HourOf function[/b:b70f2db2ca]

Returns the hour of the day represented by a TDateTime value.

[b:b70f2db2ca]HourOfTheDay function[/b:b70f2db2ca]

Returns the hour of the day represented by a TDateTime value.

[b:b70f2db2ca]HourOfTheMonth function[/b:b70f2db2ca]

Returns the number of hours between a specified TDateTime value and 12:00 AM of the first day of the month.

[b:b70f2db2ca]HourOfTheWeek function[/b:b70f2db2ca]

Returns the number of hours between a specified TDateTime value and 12:00 AM of the first day of the week.

[b:b70f2db2ca]HourOfTheYear function[/b:b70f2db2ca]

Returns the number of hours between a specified TDateTime value and 12:00 AM of the first day of the year.

[b:b70f2db2ca]HoursBetween function[/b:b70f2db2ca]

Returns the number of whole hours between two specified TDateTime values.

[b:b70f2db2ca]HourSpan function[/b:b70f2db2ca]

Returns the number of Hours (including fractional Hours) between two specified TDateTime values.

[b:b70f2db2ca]HoursPerDay constant;MinsPerDay constant;SecsPerDay constant;MSecsPerDay constant[/b:b70f2db2ca]

Values useful in time calculations.

[b:b70f2db2ca]IncAMonth procedure[/b:b70f2db2ca]

Increments date data by one month.

[b:b70f2db2ca]IncDay function[/b:b70f2db2ca]

Returns a date shifted by a specified number of days.

[b:b70f2db2ca]IncHour function[/b:b70f2db2ca]

Returns a date/time value shifted by a specified number of hours.

[b:b70f2db2ca]IncMilliSecond function[/b:b70f2db2ca]

Returns a date/time value shifted by a specified number of milliseconds.

[b:b70f2db2ca]IncMinute function[/b:b70f2db2ca]

Returns a date/time value shifted by a specified number of minutes.

[b:b70f2db2ca]IncMonth function[/b:b70f2db2ca]

Returns a date shifted by a specified number of months.

[b:b70f2db2ca]IncSecond function[/b:b70f2db2ca]

Returns a date/time value shifted by a specified number of seconds.

[b:b70f2db2ca]IncWeek function[/b:b70f2db2ca]

Returns a date shifted by a specified number of weeks.

[b:b70f2db2ca]IncYear function[/b:b70f2db2ca]

Returns a date shifted by a specified number of years.

[b:b70f2db2ca]IsInLeapYear function[/b:b70f2db2ca]

Indicates whether a specified TDateTime value occurs in a leap year.

[b:b70f2db2ca]IsLeapYear function[/b:b70f2db2ca]
Indicates whether a specified year is a leap year.

[b:b70f2db2ca]IsPM function[/b:b70f2db2ca]

Indicates whether the time portion of a specified TDateTime value occurs after noon.

[b:b70f2db2ca]IsSameDay function[/b:b70f2db2ca]

Indicates whether a specified TDateTime value occurs on a the same day as a criterion date.

[b:b70f2db2ca]IsToday function[/b:b70f2db2ca]

Indicates whether a specified TDateTime value occurs on the current date.

[b:b70f2db2ca]IsValidDate function[/b:b70f2db2ca]

Indicates whether a specified year, month, and day represent a valid date.

[b:b70f2db2ca]IsValidDateDay function[/b:b70f2db2ca]

Indicates whether a specified year and day of the year represent a valid date.

[b:b70f2db2ca]IsValidDateMonthWeek function[/b:b70f2db2ca]

Indicates whether a specified year, month, week of the month, and day of the week represent a valid date.

[b:b70f2db2ca]IsValidDateTime function[/b:b70f2db2ca]

Indicates whether a specified year, month, day, hour, minute, second, and millisecond represent a valid date and time.

[b:b70f2db2ca]IsValidDateWeek function[/b:b70f2db2ca]

Indicates whether a specified year, week of the year, and day of the week represent a valid date.

[b:b70f2db2ca]IsValidTime function[/b:b70f2db2ca]

Indicates whether a specified hour, minute, second, and millisecond represent a valid date and time.

[b:b70f2db2ca]MilliSecondOf function[/b:b70f2db2ca]

Returns the millisecond of the second represented by a TDateTime value.

[b:b70f2db2ca]MilliSecondOfTheDay function[/b:b70f2db2ca]

Returns the number of milliseconds between a specified TDateTime value and 12:00:00:00 AM of the same day.

[b:b70f2db2ca]MilliSecondOfTheHour function[/b:b70f2db2ca]

Returns the number of milliseconds between a specified TDateTime value and the beginning of the same hour.

[b:b70f2db2ca]MilliSecondOfTheMinute function[/b:b70f2db2ca]

Returns the number of milliseconds between a specified TDateTime value and the beginning of the same minute.

[b:b70f2db2ca]MilliSecondOfTheMonth function[/b:b70f2db2ca]

Returns the number of milliseconds between a specified TDateTime value and 12:00:00:00 AM of the first day of the month.

[b:b70f2db2ca]MilliSecondOfTheSecond function[/b:b70f2db2ca]

Returns the millisecond of the second represented by a TDateTime value.

[b:b70f2db2ca]MilliSecondOfTheWeek function[/b:b70f2db2ca]

Returns the number of milliseconds between a specified TDateTime value and 12:00:00:00 AM of the first day of the week.

[b:b70f2db2ca]MilliSecondOfTheYear function[/b:b70f2db2ca]

Returns the number of milliseconds between a specified TDateTime value and 12:00:00:00 AM of the first day of the year.

[b:b70f2db2ca]MilliSecondsBetween function[/b:b70f2db2ca]

Returns the number of milliseconds between two specified TDateTime values.

[b:b70f2db2ca]MilliSecondSpan function[/b:b70f2db2ca]

Returns the number of milliseconds between two specified TDateTime values.

[b:b70f2db2ca]MinuteOf function[/b:b70f2db2ca]

Returns the minute of the hour represented by a TDateTime value.

[b:b70f2db2ca]MinuteOfTheDay function[/b:b70f2db2ca]

Returns the number of minutes between a specified TDateTime value and 12:00 AM of the same day.

[b:b70f2db2ca]MinuteOfTheHour function[/b:b70f2db2ca]

Returns the number of minutes between a specified TDateTime value and the beginning of the same hour.

[b:b70f2db2ca]MinuteOfTheMonth function[/b:b70f2db2ca]

Returns the number of minutes between a specified TDateTime value and 12:00 AM of the first day of the month.

[b:b70f2db2ca]MinuteOfTheWeek function[/b:b70f2db2ca]

Returns the number of minutes between a specified TDateTime value and 12:00 AM of the first day of the week.

[b:b70f2db2ca]MinuteOfTheYear function[/b:b70f2db2ca]

Returns the number of minutes between a specified TDateTime value and 12:00 AM of the first day of the year.

[b:b70f2db2ca]MinutesBetween function[/b:b70f2db2ca]

Returns the number of minutes between two specified TDateTime values.

[b:b70f2db2ca]MinuteSpan function[/b:b70f2db2ca]

Returns the number of minutes, including fractions thereof, between two specified TDateTime values.

[b:b70f2db2ca]MonthOf function[/b:b70f2db2ca]

Returns the month of the year represented by a TDateTime value.

[b:b70f2db2ca]MonthOfTheYear function[/b:b70f2db2ca]

Returns the month of the year represented by a TDateTime value.

[b:b70f2db2ca]MonthsBetween function[/b:b70f2db2ca]

Returns the approximate number of months between two specified TDateTime values.

[b:b70f2db2ca]MonthSpan function[/b:b70f2db2ca]

Returns the approximate number of months (including fractions thereof) between two specified TDateTime values.

[b:b70f2db2ca]MSecsToTimeStamp function[/b:b70f2db2ca]

Converts a specified number of milliseconds into a TTimeStamp value.

[b:b70f2db2ca]Now function[/b:b70f2db2ca]

Returns the current date and time.

[b:b70f2db2ca]NthDayOfWeek function[/b:b70f2db2ca]

Returns which occurence of its weekday a specified TDateTime value represents.

[b:b70f2db2ca]NullSQLTimeStamp constant[/b:b70f2db2ca]

Represents a NULL TSQLTimeStamp value.

[b:b70f2db2ca]RecodeDate function[/b:b70f2db2ca]

Replaces the date portion of a specified TDateTime value.

[b:b70f2db2ca]RecodeDateTime function[/b:b70f2db2ca]

Selectively replaces parts of a specified TDateTime value.

[b:b70f2db2ca]RecodeDay function[/b:b70f2db2ca]

Replaces the day of the month for a specified TDateTime value.

[b:b70f2db2ca]RecodeHour function[/b:b70f2db2ca]

Replaces the hour of the day for a specified TDateTime value.

[b:b70f2db2ca]RecodeLeaveFieldAsIs constant[/b:b70f2db2ca]

Identifies a parameter to RecodeDateTime that should not be used.

[b:b70f2db2ca]RecodeMilliSecond function[/b:b70f2db2ca]

Replaces the millisecond of the second for a specified TDateTime value.

[b:b70f2db2ca]RecodeMinute function[/b:b70f2db2ca]

Replaces the minute of the hour for a specified TDateTime value.

[b:b70f2db2ca]RecodeMonth function[/b:b70f2db2ca]

Replaces the month of the year for a specified TDateTime value.

[b:b70f2db2ca]RecodeSecond function[/b:b70f2db2ca]
Replaces the second of the minute for a specified TDateTime value.

[b:b70f2db2ca]RecodeTime function[/b:b70f2db2ca]

Replaces the time portion of a specified TDateTime value.

[b:b70f2db2ca]RecodeYear function[/b:b70f2db2ca]

Replaces the year for a specified TDateTime value.

[b:b70f2db2ca]ReplaceDate procedure[/b:b70f2db2ca]

Replaces the date portion of a TDateTime value with a specified date.

[b:b70f2db2ca]ReplaceTime procedure[/b:b70f2db2ca]

Replaces the time portion of a TDateTime value with a specified time.

[b:b70f2db2ca]SameDate function[/b:b70f2db2ca]

Indicates whether two TDateTime values represent the same year, month, and day.

[b:b70f2db2ca]SameDateTime function[/b:b70f2db2ca]

Indicates whether two TDateTime values represent the same year, month, day, hour, minute, second, and millisecond.

[b:b70f2db2ca]SameTime function[/b:b70f2db2ca]

Indicates whether two TDateTime values represent the same time of day, ignoring the date portion.

[b:b70f2db2ca]SecondOf function[/b:b70f2db2ca]

Returns the second of the minute represented by a TDateTime value.

[b:b70f2db2ca]SecondOfTheDay function[/b:b70f2db2ca]

Returns the number of seconds between a specified TDateTime value and 12:00:00 AM of the same day.

[b:b70f2db2ca]SecondOfTheHour function[/b:b70f2db2ca]

Returns the number of seconds between a specified TDateTime value and the beginning of the same hour.

[b:b70f2db2ca]SecondOfTheMinute function[/b:b70f2db2ca]

Returns the number of seconds between a specified TDateTime value and the beginning of the same minute.

[b:b70f2db2ca]SecondOfTheMonth function[/b:b70f2db2ca]

Returns the number of seconds between a specified TDateTime value and 12:00:00 AM on the first day of the month.

[b:b70f2db2ca]SecondOfTheWeek function[/b:b70f2db2ca]

Returns the number of seconds between a specified TDateTime value and 12:00:00 AM of the first day of the week.

[b:b70f2db2ca]SecondOfTheYear function[/b:b70f2db2ca]

Returns the number of seconds between a specified TDateTime value and 12:00:00 AM on the first day of the year.

[b:b70f2db2ca]SecondsBetween function[/b:b70f2db2ca]

Returns the number of seconds between two specified TDateTime values.

[b:b70f2db2ca]SecondSpan function[/b:b70f2db2ca]

Returns the number of seconds (including fractions thereof) between two specified TDateTime values.

[b:b70f2db2ca]SQLDayOfWeek function[/b:b70f2db2ca]

Indicates the day of the week when a specified TSQLTimeStamp value occurs.

[b:b70f2db2ca]SQLTimeStampToDateTime function[/b:b70f2db2ca]

Converts a TSQLTimeStamp value to a TDateTime value.

[b:b70f2db2ca]SQLTimeStampToStr function[/b:b70f2db2ca]

Converts a TSQLTimeStamp value to a string.

[b:b70f2db2ca]StartOfADay function[/b:b70f2db2ca]

Returns a TDateTime value that represents 12:00:00:00 AM on a specified day.

[b:b70f2db2ca]StartOfAMonth function[/b:b70f2db2ca]

Returns a TDateTime value that represents 12:00:00:00 AM on the first day of a specified month.

[b:b70f2db2ca]StartOfAWeek function[/b:b70f2db2ca]

Returns a TDateTime value that represents 12:00:00:00 AM on a specified day of a specified week.

[b:b70f2db2ca]StartOfAYear function[/b:b70f2db2ca]

Returns a TDateTime value that represents 12:00:00:00 AM on the first day of a specified year.

[b:b70f2db2ca]StartOfTheDay function[/b:b70f2db2ca]

Returns a TDateTime value that represents 12:00:00:00 AM on the day identified by a specified TDateTime value.

[b:b70f2db2ca]StartOfTheMonth function[/b:b70f2db2ca]

Returns a TDateTime value that represents 12:00:00:00 AM on the first day of the month identified by a specified TDateTime value.

[b:b70f2db2ca]StartOfTheWeek function[/b:b70f2db2ca]

Returns a TDateTime value that represents 12:00:00:00 AM on the first day of the week identified by a specified TDateTime value.

[b:b70f2db2ca]StartOfTheYear function[/b:b70f2db2ca]

Returns a TDateTime value that represents 12:00:00:00 AM on the first day of the year identified by a specified TDateTime value.

[b:b70f2db2ca]StrToDate function[/b:b70f2db2ca]

Converts a string to a TDateTime value.

[b:b70f2db2ca]StrToDateTime function[/b:b70f2db2ca]

Converts a string to a TDateTime value.

[b:b70f2db2ca]StrToSQLTimeStamp function[/b:b70f2db2ca]

Converts a string to a TSQLTimeStamp value.

[b:b70f2db2ca]StrToTime function[/b:b70f2db2ca]

Converts a string to a TDateTime value.

[b:b70f2db2ca]SystemTimeToDateTime function[/b:b70f2db2ca]

Converts a _SYSTEMTIMETSystemTime value into a TDateTime objectvalue.

[b:b70f2db2ca]Time function[/b:b70f2db2ca]

Returns the current time.

[b:b70f2db2ca]TimeOf function[/b:b70f2db2ca]

Strips the date portion from a TDateTime value.

[b:b70f2db2ca]TimeStampToDateTime function[/b:b70f2db2ca]

Converts a TTimeStamp value into the corresponding TDateTime value.

[b:b70f2db2ca]TimeStampToMSecs function[/b:b70f2db2ca]

Converts a TTimeStamp value into an absolute number of milliseconds.

[b:b70f2db2ca]TimeToStr function[/b:b70f2db2ca]

Returns a string that represents a TDateTime value.

[b:b70f2db2ca]Today function[/b:b70f2db2ca]

Returns a TDateTime value that represents the current date.

[b:b70f2db2ca]Tomorrow function[/b:b70f2db2ca]

Returns a TDateTime value that represents the following day.

[b:b70f2db2ca]TryEncodeDateDay function[/b:b70f2db2ca]

Calculates the TDateTime value that represents a specified day of the year for a specified year.

[b:b70f2db2ca]TryEncodeDateMonthWeek function[/b:b70f2db2ca]

Calculates the TDateTime value that represents a specified day of a specified week in a specified month and year.

[b:b70f2db2ca]TryEncodeDateTime function[/b:b70f2db2ca]

Calculates the TDateTime value that represents a specified year, month, day, hour, minute, second, and millisecond.

[b:b70f2db2ca]TryEncodeDateWeek function[/b:b70f2db2ca]

Calculates the TDateTime value that represents a specified day of a specified week in a specified year.

[b:b70f2db2ca]TryEncodeDayOfWeekInMonth function[/b:b70f2db2ca]

Calculates a TDateTime value that represents a specified occurrence of a day of the week within a specified month and year.

[b:b70f2db2ca]TryRecodeDateTime function[/b:b70f2db2ca]

Selectively replaces parts of a specified TDateTime value.

[b:b70f2db2ca]TryStrToSQLTimeStamp function[/b:b70f2db2ca]

Converts a string to a TSQLTimeStamp value.

[b:b70f2db2ca]UnixDateDelta constant[/b:b70f2db2ca]

Specifies the difference between TDateTime and TIME_T values.

[b:b70f2db2ca]WeekOf function[/b:b70f2db2ca]

Returns the week of the year represented by a TDateTime value.

[b:b70f2db2ca]WeekOfTheMonth function[/b:b70f2db2ca]

Returns the week of the month represented by a TDateTime value.

[b:b70f2db2ca]WeekOfTheYear function[/b:b70f2db2ca]

Returns the week of the year represented by a TDateTime value.

[b:b70f2db2ca]WeeksBetween function[/b:b70f2db2ca]

Returns the number of whole weeks between two specified TDateTime values.

[b:b70f2db2ca]WeeksInAYear function[/b:b70f2db2ca]

Returns the number of weeks in a specified year.

[b:b70f2db2ca]WeeksInYear function[/b:b70f2db2ca]

Returns the number of weeks in the year of a specified TDateTime value.

[b:b70f2db2ca]WeekSpan function[/b:b70f2db2ca]

Returns the number of weeks (including fractional weeks) between two specified TDateTime values.

[b:b70f2db2ca]WithinPastDays function[/b:b70f2db2ca]

Indicates whether two dates are within a specified number of days of each other.

[b:b70f2db2ca]WithinPastHours function[/b:b70f2db2ca]

Indicates whether two date/time values are within a specified number of hours of each other.

[b:b70f2db2ca]WithinPastMilliSeconds function[/b:b70f2db2ca]

Indicates whether two date/time values are within a specified number of milliseconds of each other.

[b:b70f2db2ca]WithinPastMinutes function[/b:b70f2db2ca]

Indicates whether two date/time values are within a specified number of minutes of each other.

[b:b70f2db2ca]WithinPastMonths function[/b:b70f2db2ca]

Indicates whether two date/time values are within a specified number of months of each other.

[b:b70f2db2ca]WithinPastSeconds function[/b:b70f2db2ca]

Indicates whether two date/time values are within a specified number of seconds of each other.

[b:b70f2db2ca]WithinPastWeeks function[/b:b70f2db2ca]

Indicates whether two date/time values are within a specified number of weeks of each other.

[b:b70f2db2ca]WithinPastYears function[/b:b70f2db2ca]

Indicates whether two date/time values are within a specified number of years of each other.

[b:b70f2db2ca]YearOf function[/b:b70f2db2ca]

Returns the year represented by a TDateTime value.

[b:b70f2db2ca]YearsBetween function[/b:b70f2db2ca]

Returns the approximate number of years between two specified TDateTime values.

[b:b70f2db2ca]YearSpan function[/b:b70f2db2ca]

Returns the approximate number of years (including fractions thereof) between two specified TDateTime values.

[b:b70f2db2ca]Yesterday function[/b:b70f2db2ca]

Returns a TDateTime value that represents the preceding day.


Responder

Gostei + 0

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar