2014-04-10 18:56:51 +00:00
|
|
|
created: 20140410103123179
|
2015-01-24 21:53:28 +00:00
|
|
|
modified: 20150124214612000
|
2015-01-24 21:18:44 +00:00
|
|
|
tags: [[Filter Operators]] [[Date Operators]]
|
|
|
|
title: sameday Operator
|
2014-04-10 18:56:51 +00:00
|
|
|
type: text/vnd.tiddlywiki
|
2015-01-24 21:18:44 +00:00
|
|
|
caption: sameday
|
|
|
|
purpose: filter the input by date
|
2014-04-10 18:56:51 +00:00
|
|
|
|
2015-01-24 21:18:44 +00:00
|
|
|
<$macrocall $name=".operator-def"
|
|
|
|
input="a [[selection of titles|Title Selection]]"
|
2015-01-24 21:53:28 +00:00
|
|
|
suffix="the name of a [[date field|Date Fields]], defaulting to <<.field modified>>"
|
2015-01-24 21:18:44 +00:00
|
|
|
suffixName="f"
|
|
|
|
parameter="a date, in the [[format|DateFormat]] `YYYYMMDD`"
|
|
|
|
paramName="d"
|
|
|
|
output="those input tiddlers in which field <<.place f>> has the value <<.place d>>, ignoring time"
|
|
|
|
/>
|
2014-04-10 18:56:51 +00:00
|
|
|
|
2015-01-24 21:18:44 +00:00
|
|
|
If <<.place d>> is not a valid date, the output is empty.
|
2014-04-10 18:56:51 +00:00
|
|
|
|
2015-01-24 21:18:44 +00:00
|
|
|
<<.place d>> may include a time of day, but this is ignored.
|
2014-04-10 18:56:51 +00:00
|
|
|
|
2015-01-24 21:18:44 +00:00
|
|
|
<<.operator-examples "sameday">>
|