Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
Linux Tipps & HardeningSecurity: Ausführen beliebiger Kommandos in perl-Dancer2 (Fedora)(29.09.2026 um 07:43 Uhr)
•
Linux Tipps & HardeningSecurity: Denial of Service in perl-HTML-FormFu (Fedora)(29.09.2026 um 07:46 Uhr)
••
Linux Tipps & HardeningSecurity: Zwei Probleme in NetworkManager-l2tp (Fedora)(29.09.2026 um 07:46 Uhr)
••
Sicherheitslücken (CVE)CVE-2026-77144 | TYPO3 Events 2 Plugin up to 10.2.11 permission(29.09.2026 um 06:21 Uhr)
•
Sicherheitslücken (CVE)CVE-2026-21753 | HCL Hive 1.0 unmaintained third party components(29.09.2026 um 06:21 Uhr)
••
Sicherheitslücken (CVE)CVE-2026-75038 | ilya-zlobintsev LACT up to 0.10.0 symlink(29.09.2026 um 06:21 Uhr)
••
Linux Tipps & HardeningSecurity: Ausführen beliebiger Kommandos in perl-Dancer2 (Fedora)(29.09.2026 um 07:43 Uhr)
•
Linux Tipps & HardeningSecurity: Denial of Service in perl-HTML-FormFu (Fedora)(29.09.2026 um 07:46 Uhr)
••
Linux Tipps & HardeningSecurity: Zwei Probleme in NetworkManager-l2tp (Fedora)(29.09.2026 um 07:46 Uhr)
••
Sicherheitslücken (CVE)CVE-2026-77144 | TYPO3 Events 2 Plugin up to 10.2.11 permission(29.09.2026 um 06:21 Uhr)
•
Sicherheitslücken (CVE)CVE-2026-21753 | HCL Hive 1.0 unmaintained third party components(29.09.2026 um 06:21 Uhr)
••
Sicherheitslücken (CVE)CVE-2026-75038 | ilya-zlobintsev LACT up to 0.10.0 symlink(29.09.2026 um 06:21 Uhr)
••
Intelligence View
⚡ tsecurity.de Intelligence

Uniface Deep Dive: What's the `lineardate` Data Type? 🤔

Hey everyone! 👋 If you're working with Rocket Uniface, you know it has some unique features and data types. Today, we're going to take a closer look at a very useful one: lineardate. Heads up! This post was created with the help of an AI t…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Hey everyone! 👋 If you're working with Rocket Uniface, you know it has some unique features and data types. Today, we're going to take a closer look at a very useful one: lineardate.



Heads up! This post was created with the help of an AI to break down the Uniface documentation into a simpler format. The information has been verified against the official 10.4 docs.






What is a lineardate? ✨



In simple terms, a lineardate is just a whole number (an integer) that represents a number of days. That's it! It doesn't store a specific date like '2025-11-02', but rather a quantity of days, like '45 days'.



Here are the key facts:




  • It's an integer.

  • It can hold a value from 0 up to 3,652,425. That's enough to cover a span of 10,000 years!

  • It only stores whole days. You can't have half a day or any hours/minutes.






How Do You Use It?



You can declare a lineardate in your ProcScript just like any other variable, either in a variables block or as a parameter in a params block.




variables
lineardate lDaysToComplete
endvariables









A Practical Example 💡



The real power of lineardate shines when you do math with dates. The most common use case is finding the number of days between two dates. Uniface makes this super easy!



Imagine you have a contract start date and an execution date, and you want to calculate the waiting period in days. Here’s how you’d do it:




params
date pContractDate : IN ; Start date of the contract
date pExecutionDate : IN ; Date of execution
lineardate pWaitPeriod : OUT ; The result in days
endparams

; The magic happens here!
pWaitPeriod = pExecutionDate - pContractDate






When you subtract one date from another in Uniface, the result is automatically a lineardate representing the number of days between them. No complex functions needed!






The Key Takeaway 🚀



Think of lineardate as your go-to tool for calculating durations in days. If you need to answer the question "How many days are between Date A and Date B?", this data type is your best friend.






Wrapping Up 👍



And that's the lineardate data type in a nutshell. It’s a simple but powerful feature for handling date calculations in your Uniface applications.



Happy coding! 💻

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Uniface Deep Dive: What's the `lineardate` Data Type? 🤔

Thematisch verwandte Begriffe: Uniface, Deep, Dive, Whats · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-102367 | mall4j through 4.0 contains an insufficient session expiration vulnerab…
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag