i want to campare between two dates
Ex: 29/01/20 and 10/02/20
I want to known how many days are there between two dates
ImranTariq
(Imran Tariq)
January 30, 2020, 7:05am
#2
there is a method for that with clock component,
but for simple you can use extension by @vknow360
1.Introduction
Well…
Presenting my third extension to Community.
As you have read in title name of extension is DateTools and it is made specially to work with Dates but it can also work with time
Last Updated: 2020-01-26T18:30:00Z (UTC).
2.Blocks
(i) Functions/Methods
[scrnli_10_28_2019_9-08-31%20AM]
[scrnli_10_28_2019_9-09-23%20AM]
[scrnli_10_28_2019_9-09-59%20AM]
[component_method (5)]
[component_method (4)]
[component_method (3)]
[component_method (2)]
[component_method (1)]
[co…
i don’t want any extension. i want to use clock component
1 Like
ImranTariq
(Imran Tariq)
January 30, 2020, 7:13am
#4
for that you need instant of clocks, not just dates. so first you you have to make instant from dates and then find difference between them, by using these blocks,
for making an instant.
for find difference,
for more details on them visit,
https://docs.kodular.io/components/sensors/clock/
2 Likes
I tried this
the value is getting -548
2 Likes
ImranTariq
(Imran Tariq)
January 30, 2020, 7:21am
#6
date Should be MM/dd/YYYY , (01/20/2020)
5 Likes
system
(system)
Closed
March 1, 2020, 3:50am
#10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.