유용한 사용자 정의 함수멋진 트릭이나 유용한 장치를 아시나요?
-> 저희와 공유해주세요 
[더주제 컨테이너이와 같이]
자동화 및 스크립팅Re: 사용자 정의 함수InFormat이 Tinezones를 이해하지 못합니다 : (
In Format("2025-01-01T00:00+01:00") // -> .이 해결 방법을 사용하세요:
Add Custom Functions(
New Custom Function(
"custom",
"TimeZone_to_Time",
Function( {col_a},
{Default Local},
Informat( Word( 1, col_a, "+" ), Empty() )
+In Hours( Num( Word( 1, Word( 2, col_a, "+" ), ":" ) ) )
),
<<FORMULA category=""></FORMULA>The disadvantage:<BR />When you use the formula via right click / new formula column, the column will show the date in seconds - instead of <CODE class=" language-jsl">2025-01-01T00:00
... seems that you have to adjust the format manually.
Re: 사용자 정의 함수Add Custom Functions(
New Custom Function(
"hogi",
"replace head",
Function( {orig, new Head},
{Default Local},
mydummy = Expr( dummy() );
For Each( {arg}, Name Expr( orig ), Insert Into( mydummy, arg ) );
( Substitute( Name Expr( mydummy ), Expr( dummy() ), Name Expr( new Head ) ) );
),
<< description("takes the first argument and replaces its head with the second argument"),
<< example(Expr(
hogi:replace head({1,2,{3,4}}, Expr(Show()));
orig = Expr(Max(1,2,3));
hogi:replace head(Name Expr(orig), Expr(Show()));
))
)
);