मिति मानहरू रूपान्तरण गर्दा

दिएका प्रकार्यहरूले गणना योग्य नम्बरहरूलाई मिति मानहरू रूपन्तरण गर्दछन् र फर्कन्छन् ।

DateSerial Function

मितिनिर्दिष्ट बर्ष, महिना, दिनका लागि मान फर्काउँछ ।

DateValue Function

Returns a date value from a date string. The date string is a complete date in a single numeric value. You can also use this serial number to determine the difference between two dates.

Day Function

मान फर्कन्छ जसले मिति श्रृङ्खला वा मिति मानद्वारा उत्पन्न भएका श्रृङ्खला मिति नम्बरहरूमा आधारित रहेर महिनाको दिन प्रस्तुत गर्दछ ।

Month Function

मिति श्रृङ्खला वा मिति मान प्रकार्यद्वारा उत्पन्न गरेको श्रृङ्खला मितिबाट बर्षको महिना फर्काउँछ ।

WeekDay Function (BASIC)

मिति श्रृङ्खला नम्बरद्वारा प्रस्तुत गरिएको हप्ताको दिनलाई श्रृङ्खला नम्बर फर्काउँछ, त्यो मिति श्रृङ्खला वा मिति मान प्रकार्यद्वारा उत्पन्न गरेको हुन्छ ।

Year Function

मिति श्रृङ्खला वा मिति मान प्रकार्यद्वारा उत्पन्न गरेको श्रृङ्खला मिति नम्बरबाट बर्ष फर्काउँछ ।

CDateToIso Function

Returns the date in ISO format without separators (YYYYMMDD) from a serial date number that is generated by the DateSerial or the DateValue or the CDateFromIso function.

The year part consists of at least four digits, with leading zeros if the absolute value is less than 1000, it can be negative with a leading minus sign if the date passed denotes a year before the common era (BCE) and it can have more than four digits if the absolute value is greater than 9999. The formatted string returned can be in the range "-327680101" to "327671231".

द्रष्टव्य प्रतिमा

Years less than 100 and greater than 9999 are supported since LibreOffice 5.4.


CDateFromIso Function

Returns the internal date number from a string that contains a date in ISO format (YYYYMMDD or YYYY-MM-DD).

The year part must consist of either two (supported only in YYMMDD format without separators for compatibility) or at least four digits. With four digits leading zeros must be given if the absolute value is less than 1000, it can be negative with a leading minus sign if the date passed denotes a year before the common era (BCE) and it can have more than four digits if the absolute value is greater than 9999. The formatted string can be in the range "-327680101" to "327671231", or "-32768-01-01" to "32767-12-31".

An invalid date results in an error. Year 0 is not accepted, the last day BCE is -0001-12-31 and the next day CE is 0001-01-01. Dates before 1582-10-15 are in the proleptic Gregorian calendar.

टिप प्रतिमा

When converting a date serial number to a printable string, for example for the Print or MsgBox command, the locale's default calendar is used and at that 1582-10-15 cutover date may switch to the Julian calendar, which can result in a different date being displayed than expected. Use the CDateToIso Function to convert such date number to a string representation in the proleptic Gregorian calendar.


द्रष्टव्य प्रतिमा

The YYYY-MM-DD format with separators is supported since LibreOffice 5.3.4. Years less than 100 or greater than 9999 are accepted since LibreOffice 5.4 if not in VBA compatibility mode.


CDateToUnoDate Function

Returns the date as a UNO com.sun.star.util.Date struct.

CDateFromUnoDate Function

Converts a UNO com.sun.star.util.Date struct to a Date value.

CDateToUnoDateTime Function

Returns the time part of the date as a UNO com.sun.star.util.DateTime struct.

CDateFromUnoDateTime Function

Converts a UNO com.sun.star.util.DateTime struct to a Date value.

DateAdd Function

दिइएको मितिमा मिति अन्तराल थप्दछ, पटकको सङ्ख्या र परिणाम मिति फर्काउँदछ ।

DateDiff Function

दिएको दुई मिति मानहरू बीचमा मिति अन्तरालहरूको सङ्ख्या फर्काउँछ ।

DatePart Function

The DatePart function returns a specified part of a date.

Please support us!