Current Date
Current Date is a simple component that shows the current date and time in the timezone you choose. It’s useful for dashboards that need to display the time in a specific region or for logging events with a local timestamp.
¿Cómo funciona?
When you drop the component into your flow, you pick a timezone from the dropdown. The component then asks the computer for the current time in that zone. It formats the date and time as “YYYY‑MM‑DD HH:MM:SS TZ” and returns it as a Message. No external services are called; everything happens locally inside the dashboard.
Entradas
Campos de Entrada
- Timezone: Select the timezone for the current date and time.
Salidas
- Current Date: A Message that contains a text string like “Current date and time in US/Eastern: 2025‑10‑07 08:15:30 EDT”. You can feed this output into other components, display it in a text widget, or log it.
Ejemplo de Uso
- Drag the Current Date component onto the canvas.
- In the Timezone field, choose “Europe/Paris”.
- Connect the Current Date output to a Text Display component.
- Run the flow. The text widget will show something like:
Current date and time in Europe/Paris: 2025‑10‑07 10:15:30 CEST
.
Componentes Relacionados
- Text Display – Shows the message on the dashboard.
- Date Formatter – Lets you change the format of the date string.
- Timezone Converter – Converts a timestamp from one zone to another.
Consejos y Mejores Prácticas
- Keep the timezone consistent across components that rely on time to avoid confusion.
- Use the Text Display component to make the timestamp visible to end‑users.
- If you need the timestamp in a different format, add a Date Formatter after this component.
Consideraciones de Seguridad
The component only uses the system clock and does not send data outside the dashboard, so there are no special security concerns. Just make sure the server’s clock is accurate to avoid incorrect timestamps.