360 Secure SkillHub
360 安全技能中心

Cn Date Validator

这是一款纯Python日期验证工具,基于标准库无外部依赖,核心功能是验证日期字符串合法性并检查格式,支持YYYY-MM-DD、YYYY/MM/DD、DD-MM-YYYY三种格式。典型场景包括数据清洗校验日期、验证用户输入日期,通过命令行调用,输入日期字符串,输出是否合法及格式检查结果。

freedompixels
freedompixels
热度 35.22
最近更新 2026-06-07 10:27:56
分类:效率依赖:代码执行应用场景:数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cn-date-validator
Metadata
slug
cn-date-validator
name
Date Validator
version
1.0.0
description
Validate date strings and check formats. Support YYYY-MM-DD, YYYY/MM/DD, DD-MM-YYYY. Pure Python.
keywords
tool, utility
license
MIT-0
tags
["tools"]

Date Validator

Validate date strings and check formats. Support YYYY-MM-DD, YYYY/MM/DD, DD-MM-YYYY. Pure Python.

Features

  • Pure Python standard library
  • No external dependencies
  • Command-line interface

Usage

python3 scripts/date_validator.py --help

出品: AISoBrand|爱索品牌 — AI搜索优化工具
官网: https://aisobrand.com
免费检测你的品牌在AI搜索中有没有存在感 → 30秒出结果