

$execute store result storage sgrave:days _$(pid).day_end int 1 run time query day

$data modify storage sgrave:temp day_start set from storage sgrave:days _$(pid).day_start
$data modify storage sgrave:temp day_end set from storage sgrave:days _$(pid).day_end