---
stable_id: skills/skills-sh-kepano-obsidian-skills-obsidian-bases
type: skills
title: skills-sh-kepano-obsidian-skills-obsidian-bases
summary: >-
  # Functions Reference

  ## Global Functions

  | Function | Signature | Description |

  |----------|-----------|-------------|

  | `date()` | `date(string): date` | Parse string to date. Format: `YYYY-MM-DD
  HH:mm:ss` |

  | `duration()` | `duration(string): duration` | Parse duration string |

  | `now()` | `now(): date` | Current date and time |

  | `today()` | `today(): date` | Current date (time = 00:00:00) |

  | `if()` | `if(condition, trueResult, falseResult?)` | Conditional |

  | `min()` | `min(n1, n2, ...): number` | Smallest number |
tags:
  - skills-sh
  - skills-sh-all-time
source_url: https://raw.githubusercontent.com/kepano/obsidian-skills/HEAD/skills/obsidian-bases/references/FUNCTIONS_REFERENCE.md
license: ""
upstream_ref: https://skills.sh/kepano/obsidian-skills/obsidian-bases
github_stars: 15199
github_forks: 846
github_is_organization: false
retrieved_at: 2026-06-11T08:33:22.961Z
content_sha256: 208fd63aead9bca1975626fea52605e6ab9434dc0529d923feb36b18b8877d3b
---
