LibreOfficeDev 25.2 Help
Returns a Date value for a specified year, month, and day.
DateSerial (year, month, day)
তারিখ
বছর: বছর নির্দেশক ইনটিজার এক্সপ্রেশন। 0 এবং 99 এর মধ্যে সকল মান1900-1999 বছর হিসেবে ব্যাখ্যা করা হয়। পরিসরের বাইরের কোন বছরের জন্য আপনাকে অবশ্যই চার ডিজিট সন্নিবেশ করাতে হবে।
মাস: একটি সুনির্দিষ্টভাবে উল্লেখিত বছরের মাস নির্দেশ করার জন্য ইনটিজার এক্সপ্রেশন। ১-১২ হলো গ্রহণযোগ্য পরিসীমা।
Day: Integer expression that indicates the day of the specified month. The accepted range is from 1-31. No error is returned when you enter a non-existing day for a month shorter than 31 days.
DateSerial ফাংশন ডিসেম্বর ৩০,১৮৯৯ এবং প্রদেয় তারিখের মধ্যে একটি সংখ্যা প্রদান করে থাকে। আপনি দুইটি তারিখের মধ্যে পার্থক্য গণনা করার জনয এই ফাশনটি ব্যবহার করতে পারেন।
The DateSerial function returns the data type Variant with VarType 7 (Date). Internally, this value is stored as a Double value, so that when the given date is 1900-01-01, the returned value is 2. Negative values correspond to dates before December 30, 1899 (not inclusive).
গ্রহণযোগ্য পরিসরের বাইরে বিদ্যমান তারিখ নির্ধারণ করা হলে, LibreOfficeDev বেসিক একটি ত্রুটি বার্তা প্রদান করে থাকে।
আপনি যেখানেই DateValue ফাংশন তারিখ মান ধারণকারী স্ট্রিং হিসেবে নির্ধারণ করেন, DateSerial ফাংশন ব্যবহার করে প্রতিটি প্যারামিটার (বছর, মাস, দিন) পৃথক সংখ্যাসূচক এক্সপ্রেশন হিসেবে নির্ণয় করা হয়।
Sub ExampleDateSerial
Dim lDate As Long
Dim sDate As String
lDate = DateSerial(1964, 4, 9)
sDate = DateSerial(1964, 4, 9)
msgbox lDate REM returns 23476
MsgBox sDate ' returns 1964-04-09 in ISO 8601 format
End Sub