Logo Barret Codes
  • Home
  • About
  • Engage With Me
  • Recent Posts
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
  • Community
  • Conferences
  • Development
  • Life
  • Podcasts
  • Soft Skills
hero image
Function Friday - Date and Time Wrap Up: Timezones and Ticks

This time I’m walking through the remaining Date and Time functions. These include the functions that convert between and work with timezones: convertFromUtc, convertToUtc, convertTimeZone, utcNow. But first, we’re going to take a look at ticks. Ticks Just what the heck are ticks, anyway? Ticks are an integer value that represents the total number of 100-nanosecond intervals that have elapsed since January 1, 0001 at 12 am midnight, Universal time. These numbers can obviously get quite big. For example, the ticks value of September 9, 2022, at 10:00 AM UTC time is 637983144000000000.

  • datetime
  • flow
  • function-friday
  • power-automate
Friday, September 9, 2022 | 4 minutes Read
hero image
Video: Power Automate - Starting with a Template

A new video this week. I delve into how quickly you can create a Power Automate flow using one of the thousands of provided templates. https://youtu.be/cjMJvRuHAsc

  • flow
  • power-automate
  • templates
Tuesday, September 6, 2022 | 1 minute Read
hero image
Azure Back to School 2022 - Saving Customer Relationships with Azure Cognitive Services

For those of you who missed it yesterday, you can catch one of my two Azure Back to School sessions below. https://www.youtube.com/watch?v=pUL7Iuac3bI&ab_channel=BarretCodes

  • azure
  • azure-back-to-school
  • cognitive-services
  • dotnet
Sunday, September 4, 2022 | 1 minute Read
hero image
Function Friday - More Date and Time Fun: startOf and dayOf

Previously I’ve walked through how to do some date math, formatting, and parsing. Now I’ll drill into a few of the other date and time functions around getting certain values related to a particular date and time. dayOf Functions There are three functions that are closely related: dayOfMonth, dayOfWeek, dayOfYear. All three function in the same manner. They return a numerical value that represents the particular DateTime’s value in reference to the current month, week, or year.

  • datetime
  • flow
  • function-friday
  • power-automate
Friday, September 2, 2022 | 2 minutes Read
hero image
An Introduction To Databases

Something a little different this time around. Lately, both at work and in my personal projects and learnings, I’ve been dealing with a wide variety of databases. Databases in general are a core component in application infrastructure. Despite that, they get far less focus in the blogosphere than other topics like UI, UX, APIs, and the like. I get it. Databases aren’t sexy. They aren’t cool. They’re just the core that supports the entire application. Nothing important.

  • database
  • nosql
  • sql
Tuesday, August 30, 2022 | 6 minutes Read
hero image
Video: Creating Our First Power Automate Flow

Another introduction video. This one covers an overview of creating a simple flow in Power Automate. https://youtu.be/AFUt1VoNMUc

  • flow
  • power-automate
Tuesday, August 23, 2022 | 1 minute Read
hero image
Function Friday - Formatting and Parsing Dates and Times

This week I’m looking at formatting and parsing date and time values in Power Automate. This can be a great pain when working with data in your functions for a straightforward reason: DateTime values come in many different formats. And different systems will require different formats for your DateTime values. And that’s before you even consider the pain of timezones. formatDateTime We’ll first look at formatting. The formatDateTime function takes a DateTime string and converts it into a different format. The pattern is as follows:

  • datetime
  • flow
  • function-friday
  • power-automate
Friday, August 19, 2022 | 4 minutes Read
hero image
Function Friday: Date and Time Addition

This time I’m going to start delving into the date and time functions of Power Automate. Date and time is one of the most painful parts of working with flows. The reason for that is that sometimes a DateTime value is a DateTime, sometimes it’s a number, and sometimes it’s a string. Usually it’s a string… mostly. And it’s hard to know which it is at any given moment. Then add to that plethora of different formats that a DateTime value might take to and from all the various external systems and you have another layer of complexity. And for yet one more level of complexity, we’ll add in the issue of timezones.

  • datetime
  • flow
  • function-friday
  • power-automate
Friday, August 12, 2022 | 3 minutes Read
hero image
Video - A Brief Introduction to Microsoft Power Automate

This week I’m presenting my first YouTube video: A Brief Introduction to Microsoft Power Automate. Give it a view. https://www.youtube.com/watch?v=2MNnKel_9V8&ab_channel=BarretCodes

  • flow
  • power-automate
Tuesday, August 9, 2022 | 1 minute Read
hero image
Function Friday: Data Type Conversion Functions - Arrays, JSON and XML

This time we’re wrapping up the last of the data type conversion functions. We’ll cover the more complex data types: arrays, JSON, and XML. array The array function creates an array from a single input data element. The format is simple: array('<value>') And as an example: array('hello there') // returns ["hello there"] To be honest, there’s no reason to use the array function. The createArray function allows you to pass in multiple data elements and you get the same result.

  • flow
  • function-friday
  • power-automate
Friday, August 5, 2022 | 3 minutes Read
hero image
Using Application Insights For Better Application Logging

As you gain more experience as a developer, you soon realize the importance of good logging for your applications. When an app is small, you can get away with console logging, print statements, etc. But once your app reaches any real size or functionality, especially as you reach your MVP state, it’s time to have some real logging. For that, we can turn to Application Insights. Application Insights is an Azure cloud-hosted logging platform that you can use to keep track of the performance and errors in your live web apps. As the Microsoft docs put it, you can use App Insights to “automatically detect performance anomalies, diagnose issues, see what users actually do with your apps, and help improve app performance and usability”.

  • application-insights
  • azure
Tuesday, August 2, 2022 | 8 minutes Read
hero image
Function Friday: Binary, DataUri, UriComponent, and Base64 Conversion Functions

This time I’m going to delve into conversion functions for base64 and binary. Both are typically used to convert binary files such as images and zip files back and forth between formats that various connectors need in order to process them. It’s also sometimes used to generate hashes used for checksums, certificates, and encryption. base64 The base64 function is used to convert a string into a base64 encoded version of a string. The pattern is:

  • conversion
  • flow
  • function-friday
  • power-automate
Friday, July 29, 2022 | 3 minutes Read
  • ««
  • «
  • 3
  • 4
  • 5
  • 6
  • 7
  • »
  • »»
Navigation
  • About
  • Engage With Me
  • Recent Posts
  • Posts
Contact me:
  • barretblake@live.com
  • barretb
  • Barret

Toha Theme Logo Toha
© 2024 Copyright Barret Blake.
Powered by Hugo Logo