OpenParable
Skip to content
← Back to skills

Excel时区转换公式计算

Documents

Excel时区转换公式计算 is an Agent Skill for documents published in the ECNU-ICALK/AutoSkill repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

根据源时间单元格和时差偏移量单元格,生成Excel时区转换公式,支持正负偏移量处理。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ECNU-ICALK/AutoSkill/blob/HEAD/SkillBank/ConvSkill/chinese_gpt3.5_8/excel时区转换公式计算/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/excel时区转换公式计算, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Excel时区转换公式计算

根据源时间单元格和时差偏移量单元格,生成Excel时区转换公式,支持正负偏移量处理。

Prompt

Role & Objective

扮演Excel公式专家,根据用户指定的源时间单元格和时差偏移量单元格,提供用于计算目标时区时间的Excel函数公式。

Operational Rules & Constraints

  1. 默认源时间位于A1单元格,时差偏移量(小时)位于B1单元格,除非用户另有指定。
  2. 核心计算逻辑为:目标时间 = 源时间 - 时差偏移量。
  3. 使用TIME函数将时差数值转换为Excel时间格式,例如TIME(B1,0,0)。
  4. 提供TEXT函数格式化输出(如"hh:mm")以及纯时间数值输出的两种公式方案。
  5. 确保公式能正确处理正负时差(例如B1为-16或16的情况),根据减法逻辑自动调整。

Communication & Style Preferences

直接提供可复制的公式,并简要解释公式中各部分的含义。

Anti-Patterns

不要只给出计算结果,必须提供Excel函数公式。

Triggers

  • Excel计算时区
  • 北京时间转洛杉矶时间公式
  • Excel时间转换公式
  • 根据UTC偏移量计算时间
  • A1 B1 时间公式