This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GetAsTimestamp ( ( GetAsNumber ( epoch ) ) + GetAsNumber ( Timestamp ("01/01/1970" ; "00:00:00" ) ) ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$currentDate = Get ( CurrentDate ) | |
$searchStart = GetAsDate ( 7 * Int ( ( $currentDate + 7 ) / 7 ) - 13 ) // previous monday from today | |
$searchEnd = GetAsDate ( 7 * Int ( ( $currentDate + 7 ) / 7 ) - 7 ) // previous sunday from today | |
$searchRange = $searchStart & "..." & $searchEnd | |
//FileMaker formula |